Hello. How to write a C program to check and display president party
like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

FIND THE OUTPUT IF THE INPUT IS 5 5.75 void main() { int i=1; float f=2.25; scanf("%d%f",&i,&f); printf("%d %f",,i,f); } ANSWER IS 5 AND 2.25 WHY?

4 Answers   Wipro,


What is the output of the program given below #include<stdio.h> main() { char i=0; for(;i>=0;i++) ; printf("%d\n",i); }

21 Answers   ADITI, Student, TCS,


print ur name 20,000 times without using inbuilt library functions like printf,scanf,gets,puts,getchar or putchar

4 Answers   IBM,


What is identifiers in c with examples?

0 Answers  


Why c is procedure oriented?

0 Answers  






what is computer engg

1 Answers  


SIR PLS TELL ME THE CODE IN C LANGUAGE TO PRINT THE FOLLOWING SERIES 1 1 2 1 1 2 3 2 1 1 2 3 4 3 2 1 1 2 3 2 1 1 2 1 1

4 Answers  


how to find string length wihtout using c function?

6 Answers  


Explain what is the difference between functions getch() and getche()?

0 Answers  


What is the g value paradox?

0 Answers  


Is Exception handling possible in c language?

0 Answers   Wipro,


Is there any book to know about Basics of C Language?

4 Answers  


Categories