descriptive names.. alright, gonna take note on that :D
i must say i'm not that familiar with nested loop
need to know it better! and try and error more
thanks for pointing those extra...
Type: Posts; User: Adila
descriptive names.. alright, gonna take note on that :D
i must say i'm not that familiar with nested loop
need to know it better! and try and error more
thanks for pointing those extra...
this is how it should looks like :
http://i151.photobucket.com/albums/s126/Keiko_Kaede/untitled.png
i wrote is as :
#include <stdio.h>
#include <math.h>
int main()
i have a feeling that the person who posted this question is in the same uni and class as i am LOL because this is one of the question for today lab session
anyway.. what i did :
#include...
actually.. i'm so lost =/
i was pointed out to use % and /
#include <stdio.h>
int main()
{
Question : a program that reads in a four digit number, separates the number into it's individual digits and print them separated by 3 spaces
what i've done :
#include <stdio.h>
int...
ah ok
no wonder it didnt turn out well
i didnt change everything properly earlier when i renamed
float sum to float sum1
and forgotten to change :
the question is :
enter an odd number (integer)
enter an even number (integer)
enter the same odd number (real)
enter the same even number (real)
so what i did so far..