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 act as an electronic safe. If the correct code has been entered the program should display "Safe Open". If an incorrect code is input it should display "Alarm" and cannot be reset. #include stdio.h void main() { char prompt; int dial,code; /* set up code */ printf("Please enter in the numerical code \n\r"); scanf("%d",&code); /* Lock up safe */ printf(" Safe locked \n\r Please enter access ... "); scanf("%d",&dial); while (dial != code ) { printf("Alarm sounded \n\r"); } printf("Safe opened \n\r"); printf("Press any key to exit \n\r"); scanf("\n%c",&prompt); }
Question 1 . Write a brief note on Aggregation Question 2 . Discuss briefly on constructors Question 3 . What are the important advantages of Inheritance? Question 4 .
write a program that can accept numbers and perform all the four arithmetic operation
The for Loop For loop is the controlled form of loop. The general format of this : for( initialize ; test ; update) { statements;
Define the Data Types of c language? The C has a concept of 'data types' which are used to define a variable before its use and the definition of a variable will assign storage
Write a ''C'' program to accept any 3 digit integer number from the keyboard and display the word equivalent representation of the given number.
to calculate area of the circle
Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two points can b
GetChar - get a character from the keyboard, echo to the display and return it in reg al. - Note: if a linefeed (LF) is received (Enter key), a carriage return (CR) will als
Example for Register Storage Class - computer programming? main() { register int i; for (i=0; i { ............... ............... } } /* block exit will free the register
write a program to find the area under the curve y=f(x) between x=a and x=b integrate y=f(x) between the limits of a and b #include float start_point,
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