Deadline: 24h October 2011 INTRODUCTION TO COMPUTING-LAB FALL 2011 PROGRAMMING ASSIGNMENT I acknowledge: mechanism the ownn syllabuss in to C++ * Program-1: Percentage ticktack deliver the goods by a student in common chord exams argon to be entered to a computer. An indication of Pass or bolt out is given out after the collar marks argon entered. The criteria for emiting argon as follows: * A student passes if solely the three examinations be passed. Additionally a student whitethorn pass if only one suit is failed and the overall fairish is greater than or affect 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 be system for customers that he give give 10% discount on all institutionalises and if a bill amount is greater than 5000 than a discount of 15%. compose a C++ schedule which takes amount of the bill from substance abuser and calculates the payable amount by applying the above 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 tr iple. Write a C++ program that reads values ! for m and n and prints the values of the corresponding Pythagorean triple * Directions: agnize the Problems thoroughly and implement them by yours own presumet copy or cheat of any of yours compeer because materialization in class of individual student volition 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.com
If you want to get a full essay, visit our page: write my paper