Write a program to print prime nums from 1-20 using c
programing?
Answer Posted / musa
#include <stdio.h>
main(){
printf("2 5 7 11 13 17 19");
}
| Is This Answer Correct ? | 10 Yes | 14 No |
Post New Answer View All Answers
What does p mean in physics?
Explain that why C is procedural?
Define the scope of static variables.
Is fortran still used today?
How to write c functions that modify head pointer of a linked list?
please explain every phase in the "SDLC" in the dotnet.
Write a C program to help a HiFi’s Restaurant automate its breakfast billing system. Your assignment should implement the following items: a. Show the customer the different breakfast items offered by the HiFi’s Restaurant. b. Allow the customer to select more than one item from the menu. c. Calculate and print the bill to the customer. d. Produce a report to present your complete program and show more sample output. Assume that the HiFi’s Restaurant offers the following breakfast menu: Plain Egg $2.50 Bacon and Egg $3.45 Muffin $2.20 French Toast $2.95 Fruit Basket $3.45 Cereal $0.70 Coffee $1.50 Tea $1.80
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures
Why static variable is used in c?
how to capitalise first letter of each word in a given string?
Is flag a keyword in c?
What is malloc calloc and realloc in c?
What are the types of unary operators?
What are the parts of c program?
What is #pragma statements?