No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
how to assigned comma and period in thousand number?? (ex. 1,000.50) in c++.. this is my sample code... [code]#include <iostream> main () { int x=0,y; cout<<"Coverting Dollar to Philippine Currency:"; cout<<"\n\nEnter amount of dollar: $ "; cin>>y; x = y * 45.00; cout<<"Php "<<x; return 0; }[/code] i want to … |
|
my problem is, when i try to withdraw bigger than balance...it will display the remaining balance..it display negative..which is wrong..instead of display the msg "you have not enough money". what's wrong with my code? [code=cpluslus] this is my code::::: if (withdraw == 1) { bal=bal-100; gotoxy(25,17); cout<<"Your balance now is … |
|
Re:
I need program in c to print keywords and their frequency of occurence in a given c program |
|
hey guyz!!! i'm just trying to check my code u all if it's correct. thankz! the problem is " ask a number (N). calculate and display the value of x, where x = (1*N)+(2*N)+(3*N)...(N*N); ex. if i input a number 5 the formula of x where: x = (1*N)+(2*N)+(3*N)+(4*N)+(5*N); this … |
|
will calculate and display the sum of all even even numbers from 2 to n, where n is a positive number inputted by the user..what will i do and what is the expression of that??? |