write a c program that prints all multiples of 3between 1
and 50.
Answer Posted / pruthiewraj swain
#include<stdio.h>
#include <conio.h>
voidmain()
{
int a ;
printf("enter the multiples of 3");
while (a=100)
{
if (a%3==0|| a%4==0)
}
printf("
%d",a);
}}
getch();
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can you write the algorithm for Queue?
Is main is user defined function?
What are inbuilt functions in c?
Explain heap and queue.
Explain what is wrong in this statement?
What are dangling pointers? How are dangling pointers different from memory leaks?
How is = symbol different from == symbol in c programming?
How important is structure in life?
How can I open a file so that other programs can update it at the same time?
Which type of language is c?
What is the return type of sizeof?
What are loops c?
what is the role you expect in software industry?
What does %p mean c?
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: