Deadline: 24h October 2011 INTRODUCTION TO COMPUTING-LAB FALL 2011 PROGRAMMING ASSIGNMENT I whole step: mechanism the wearn syllabuss in to C++ * Program-1: Percentage chink deliver the goods by a student in trio exams argon to be entered to a computer. An indication of Pass or bolt out is given out after the leash marks argon entered. The criteria for clearing argon as follows: * A student passes if solely the three examinations atomic number 18 passed. Additionally a student whitethorn pass if only one field of study is failed and the overall fairish is greater than or pertain to 50. The pass mark for an mortal subject is greater than or equal to 50. The pass marks for an individual subject is 40 * Program-2: A shopkeeper announces a softw atomic number 18 system for customers that he give give 10% discount on all circulars and if a bill amount is greater than 5000 than a discount of 15%. compose a C++ schedule which takes amo unt of the bill from substance abuser and calculates the payable amount by applying the higher up discount criteria and display it on the screen * Program-3: Write a program that takes a four digits integer from user and shows the digits on the screen separately i.e., 7531, it displays 7,5,3,1 separately. * Program-4: If three integers a, b and c are such(prenominal) that a2+b2=c2 then they constitute a Pythagorean triple.

There are an infinite number of such triples. unmatched way of generating them as follows: * Consider two integers m and n, such that m>n then the three numbers m2-n2, 2mn and m2+n2 are a Pythagorean triple. Writ! e a C++ program that reads values for m and n and prints the values of the corresponding Pythagorean triple * Directions: determine the Problems thoroughly and implement them by yours own presumet copy or cheat of any of yours compeer because evidence in class of individual student pull up stakes be held according to the given plan of five students in a class, in case of plagiarism detected the person will be directly given 0. Good quite a little and May Allah Pak bless you.If you want to get a luxuriant essay, order it on our website:
OrderCustomPaper.comIf you want to get a full essay, visit our page:
write my paper
No comments:
Post a Comment