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 are the modifiers available in c programming language?
What is 'bus error'?
Function calling procedures? and their differences? Why should one go for Call by Reference?
What is page thrashing?
How would you obtain the current time and difference between two times?
What are types of structure?
How are portions of a program disabled in demo versions?
How can you convert integers to binary or hexadecimal?
Can two or more operators such as and be combined in a single line of program code?
what is real time system?what is the differance between hard and soft real time systems
Explain how does flowchart help in writing a program?
Explain demand paging.