Below is my coding , how do i check whether the user input is
interger or not ...... because if the user entered a integer i would like to ask
the user to re-enter ...... meaning this program will only accepts char
thanks in advance
#include <stdio.h>
#include <stdlib.h>
struct stackNode {
int data;
struct...
User Profile
Collapse
-
Another on String
In string what is the difference between
1 gets and scanf
2 puts and printf -
Info on STRING ( C )
Needed some info on whats the use string and how to use it .
Could anyone give me the tips or send me a site where i could ? -
-
Help on using Floor and Ceiling
Could anyone help me out
on how to use the function floor and ceiling pls -
Help on Rounding Numbers on C
Is there anyway i could round a number
either than adding 0.5 ? -
-
-
Problems with rounding numbers
I'm having problems with rounding numbers
pls help me out
this is the program instruction that i wrote
x = 420.30 * 0.15
y = 420.30 - x
i print the y out in .2lf format
and it came out as 357.26
it needed it to came out 357.25
i believe that there is a problem with x ( 63.045 ) which...Leave a comment:
-
Problems with rounding numbers
I'm having problems with rounding numbers
pls help me out
this is the program instruction that i wrote
x = 420.30 * 0.15
y = 420.30 - x
i print the y out in .2lf format
and it came out as 357.26
it needed it to came out 357.25
i believe that there is a problem with x ( 63.045 ) which is needed to be 63.05
is there a way...
No activity results to display
Show More
Leave a comment: