- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
"wanna be computer geek"
#include<stdio.h> main() { int m1, m2, m3, m4, m5, per; printf("Enter marks in five subjects"); scanf("%d %d %d %d %d", &m1, &m2, &m3, &m4, &m5); per=(m1+m2+m3+m4+m5)/500*100; if(per>=60) printf("First division"); else{ if(per>=50) printf("Second division"); else{ if(per>=40) printf("Third division"); else printf("Fail"); } Enter marks in five subjects 100, 100, 10, 50, 60 … |
|
any games like limbo and closure?? with atmospheric or real like sounds? any other indie games or any?? |
|
Beginner's question : How is c different from c++? what are the differences? Which one shoul i go for , if i know basic oops (just basics)? **plz provide some genuine answers rather than simply "google"ing ..... I have searched a bit and not yet satisfied.** |
|
I have created a sample program on C.When i try to run on a different system (win 7 64 bit) it is asking for x64 version of the file (of the executable file created ). P.S. - I am not talking about the compiler, but about the executable file created … |
|
When you want to remove extraneous characters from an input stream in C++, it's usually because you mixed formatted and unformatted input methods. The formatted method would leave a newline in the stream and the unformatted method would consume it and terminate successfully, but fail completely to do what you … |