What is there to do in question 2? Print the values of some expressions.
Type: Posts; User: Norm
What is there to do in question 2? Print the values of some expressions.
Can you just compile the program and not try to execute it so that you get the error messages from the compiler? There is important information in the error messages. They show the source line...
What happens when you compile and execute the program?
If you get any errors you need help with, copy the full text and paste it here.
If it executes, Does it give you the correct answers?
#include <stdio.h>
#include <conio.h>
void main()
{
int number;
clrscr();
printf("Enter a number\n");
scanf ("%d", &number);
Can you post the code you have and any questions about the problems you are having with it?