Assignment1_F09

Assignment1_F09 - Name Perfect Student Please enter 2...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Programming Assignment Number 1 Computer Science 101 Due date: Must be submitted (electronic submission) by midnight on Sept. 14, 20009       Write a program to produce the output shown below.  Use the following formula :                             Y                                   3.7    Result = [  X -  --- ] [ X + 2 Z ] + 5 X -  ------                           5 Z                                9.5 Y      The output for program 1 should look as follows, except you will use your name! Computer Science 101 Programming Assignment #1 Please enter your full name: Perfect Student
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Name: Perfect Student Please enter 2 integer numbers: 23 3 The sum of 23 and 3 is: 26 The product of 23 and 3 is: 69 The remainder of 23 and 3 is: 2 The integer quotient of 23 and 3 is: 7 The real quotient of 23 and 3 is: 7.666667 Enter 3 real numbers: 12.345 -99.23 88.712 The result of substituting x,y, and z into formula is 2446.88 Good bye Perfect Student Notes submit –user csci101 –Tag hw1.** Assign1.cpp ** = lab section Name of file doesn’t matter /*Analysis //1.Inputs (Given Data) //2. What Needs to be Calculated //Algorithm // // */ Code DECLARE ALL VARIABLES AT TOP...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern