01:198:111 Lecture Notes - Lecture 5: Java Syntax

68 views1 pages
cyansea-lion159 and 56 others unlocked
01:198:111 Full Course Notes
47
01:198:111 Full Course Notes
Verified Note
47 documents

Document Summary

*your peer leader will leave time at the end to ask questions about your upcoming midterm. The midterm will cover the following topics: binary numbers, truth tables/boolean expressions, basic. Java syntax, variable typing, arithmetic operations, calling methods (e. g. io. readint(), math. sqrt(), etc), Write a for-loop that does the above with x being a user input. Write the same code using a while-loop and a do-while-loop. Write a program which computes the average of multiple test scores. Ask the user for how many test scores they are going to input. *you must use a while-loop in your program. Write a program that draws a horizontal pyramid of a height specified by a user. Write a program that draws the same pyramid as in the previous exercise but vertically.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents