Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Write a program to find the area and perimeter of a circle of given radius
# include
void main()
{
float radius, area, perimeter, pi=3.14;
printf("\nEnter the radius of the circle :\>");
scanf("%f",&radius);
area=pi*radius*radius;
/* Area of a circle=Pr2*/
perimeter=2*pi*radius;
/* Area of a circle=2Pr*/ printf("\nThe area of the circle is :%.2f",area);
printf("\nThe perimeter of the circle is :%.2f\n",perimeter);
/* "%.2f" - prints values upto 2 decimal places*/
getch();
}
What is a disk drive? The electro mechanical mechanism that spins the disk and moves the read/write heads known as disk drive.
Q. What are the elements of an instruction? As the function of instruction is to communicate to CPU what to do it needs a minimum set of communication such as: What op
The output of a JK flipflop with asynchronous preset and clear inputs is '1'. The output can be changed to '0' with which conditions ? Ans. Through applying J = 1, K = 1 and u
"Super ASCII", if it contains the character frequency equal to their ascii values. String will contain only lower case alphabets (''a''-''z'') and the ascii values will starts from
What is dynamic memory allocation? The mechanism of allocating needs amount of memory at run time is known as dynamic allocation of memory. Sometimes it is needed to allocate m
Q. Explain about Programmer Visible Registers? Programmer Visible Registers: These registers can be employed by machine or assembly language programmers to minimize reference
The Purpose of POINTER phrase is to verify the leftmost position within receiving field where the first transferred character will be kept
The Linux Process Scheduler uses time slice to prevent a single process from using the CPU for too long. A time slice specifies how long the process can use the CPU. In our simulat
How to declare array in c
a. Define parsing? Give difference among top down parsing and bottom up parsing. b. Determine the self-relocating programs? Why self-relocating programs are less efficient then
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd