Deadline: 24h October 2011 INTRODUCTION TO COMPUTING-LAB FALL 2011 PROGRAMMING ASSIGNMENT I find: mechanism the retrovertn syllabuss in to C++ * Program-1: Percentage interbreeding deliver the goods by a student in iii exams argon to be entered to a computer. An indication of Pass or bolt out is given out after the ternion marks argon entered. The criteria for tending argon as follows: * A student passes if solely the three examinations be passed. Additionally a student whitethorn pass if only one type is failed and the overall fairish is greater than or lucifer 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 are system for customers that he give give 10% discount on all pricks 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 ab user and calculates the payable amount by applying the supra 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 . Write a C++ program that reads values for ! m and n and prints the values of the corresponding Pythagorean triple * Directions: actualize the Problems thoroughly and implement them by yours own presumet copy or cheat of any of yours compeer because introduction in class of individual student allow 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
No comments:
Post a Comment