Unit 3 - Alexa Rocha Intro to Programming PT1420 Labs 3.1...

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

View Full Document Right Arrow Icon
Alexa Rocha 6/30/15 Intro to Programming PT1420 Labs 3.1 Step 1 Variable Name Problem (Yes or No) If Yes What is wrong? Declare Real creditsTaken No Declare Int creditsLef no Declare Real studentName no Constant Real creditsNeeded = 90 no Step 2 The problem that is wrong with the calculations is that there isn’t a set variable. Step 3 The student name is Nolan Owens Step 4 The Network Systems Administration degree is awarded afer 90 credits and Nolan Owens has 70 lef to take before graduation. Step 5 1. //Provide documentation on line 2 of what this program does 2. //Program is designed to display 3. //Declare variables on lines 4, 5, 6, and 7 4. //Declare creditsTaken as Real = “0” 5. //Declare creditsLef as Double = “0” 6. //Declare studentName as Real = “creditsneeded90” 7. //Declare creditsNeeded as Constant = “90 8. //Ask for user input of studentName and creditsTaken on line 9 - 12. 9. //Display “Enter Student name bleow” 10. //Set studentName = User Input 11. //Display “Enter Credits taken below” 12. //Set creditsTaken = User Input
Image of page 1

Info icon This 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.

{[ 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