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 advantages of using new operator as compared to the function malloc ()?
How do you write a program which produces its own source code as its output?
Write a program to find whether the given number is prime or not?
What is wrong with this program statement? void = 10;
array contains zeros and ones as elements.we need to bring zeros one side and one other side in single parse. ex:a[]={0,0,1,0,1,1,0,0} o/p={0,0,0,0,0,1,1,1}
What is binary tree in c?
Why do we need functions in c?
How can a string be converted to a number?
Define and explain about ! Operator?
What are structure types in C?
What is C language ?
Can you assign a different address to an array tag?