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 |
What does malloc () calloc () realloc () free () do?
what is the use of keyword volatile??
What is preprocessor with example?
What is the data segment that is followed by c?
how to write optimum code to divide a 50 digit number with a 25 digit number??
Is there any book to know about Basics of C Language?
How do you search data in a data file using random access method?
Is multithreading possible in c?
i want to job in your company, so how it will be possible.
Multiply an Integer Number by 2 Without Using Multiplication Operator
How are strings stored in c?
What is #line in c?