Write a program to enter the name and age.
If age>28 then find salary categories.
if age<28 then find that you are gaduate or not.
Answer / rohith
#include<stdio.h>
#include<conio.h>
void main()
{
int emp num,emp salary,age;
printf("enter the age");
scanf("%d",&age);
if(age>28)
{
printf("ener the emp num");
scanf("%d",emp name);
printf("enter the salary of the emp");
printf("%d", salary);
else
printf("he was not emp");
}
getch();
}
| Is This Answer Correct ? | 4 Yes | 1 No |
Difference between exit() and _exit() function?
C,c++, Java is all are structural oriented or procedure oriented language..?
Can the size of an array be declared at runtime?
Why is c so popular?
Write a small C program to determine whether a machine's type is little-endian or big-endian.
What are the disadvantages of c language?
What is call by value in c?
I have one doubt. What does below statement mean? #define sizeof(operator) where operator can be int or float etc. Does this statement meaningful and where it can be used?
Can 'this' pointer by used in the constructor?
Explain what is the benefit of using #define to declare a constant?
find the output of the following program main() { int x=5, *p; p=&x; printf("%d",++*p); }
What are the functions to open and close the file in c language?