Write a program to print prime nums from 1-20 using c
programing?

Answer Posted / ritu

Write a program to generate the first n terms in the series --- 2,3,5,7,11,...,17

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is c called a mid-level programming language?

741


What is the difference between exit() and _exit() function?

616


Are bit fields portable?

693


"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above

623


Is c high or low level?

600






What is const volatile variable in c?

594


What is sorting in c plus plus?

574


What is cohesion in c?

553


What does it mean when a pointer is used in an if statement?

618


Can you write a programmer for FACTORIAL using recursion?

622


Write a program to maintain student’s record. Record should not be available to any unauthorized user. There are three (3) categories of users. Each user has its own type. It depends upon user’s type that which kind of operations user can perform. Their types and options are mentioned below: 1. Admin (Search Record [by Reg. No or Name], View All Records, Insert New Record, Modify Existing Record) 2. Super Admin (Search Record [by Reg. No or Name], View All Records, Insert New Record, Modify Existing Record, Delete Single Record) 3. Guest (Search Record [by Reg. No or Name], View All Records) When first time program runs, it asks to create accounts. Each user type has only 1 account (which means that there can be maximum 3 accounts). In account creation, following options are required: Login Name: <6-10 alphabets long, should be unique> Password: <6-10 alphabets long, should not display characters when user type> Confirm Password: Account Type: Login Name, Password and Account Type should be stored in a separate file in encrypted form. (Encryption means that actual information should be changed and Decryption means that Encrypted information is changed back to the actual information) If any of the above mentioned requirement(s) does not meet then point out mistake and ask user to specify information again. When Program is launched with already created accounts, it will ask for user name and password to authenticate. On successful authentication, give options according to the user’s type.

1527


Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.

719


i want to know the procedure of qualcomm for getting a job through offcampus

1957


What is the concatenation operator?

622


What is the 'named constructor idiom'?

651