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 Posted / 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 |
Post New Answer View All Answers
which type of aspect you want from the student.
how to print the character with maximum occurence and print that number of occurence too in a string given ?
Explain how can I right-justify a string?
Can you tell me how to check whether a linked list is circular?
What is variable declaration and definition in c?
pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)
What is use of null pointer in c?
If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.
What is a macro?
What are enums in c?
What is a memory leak? How to avoid it?
Differentiate Source Codes from Object Codes
What is a pointer on a pointer in c programming language?
In C programming, how do you insert quote characters (‘ and “) into the output screen?
write a program to find out prime number using sieve case?