Construct a block of code that prints: βLions &β one the first line, βTigers & Bears!β on the second line, and βOh my!β on the FOURTH line.
int main() {
---
int x;
int y;
---
x = 3;
y = 6;
---
int x = 3
int y = 6 #distractor
---
int temp = x;
---
x = y;
y = temp;
---
x = y;
y = x; #distractor
---
}
Dan Humphrey is a 3.98 student at Constance High School. His crushβs first initial is S. Construct a program that assigns the variables name, GPA, and crush, in that order.
You decide to make homemade Mac βnβ Cheese for you and your roomates. Whoever wrote the recipe wanted to make things hard for you by stating that it calls for 1% of a gallon of milk. Construct a block of code that converts this to tablespoons.
Construct a block of code that outputs the volume of a cylinder with a radius of 3 and a height of 4. There are many ways to do this using the choices below, but only the correct answer that uses the LEAST lines of code will be accepted.
Itβs Black Friday and the Nintendo Switch youβbe been saving up for is marked down to 60% of its original price! Construct a block of code that calculates how much money youβd be saving if the system originally costed $359.99?
Your family just bought a dog and everyone has been fighting over what to name it. It went from Champ to Copper to Higgins, and after a few days of being Higgins, everyone agreed on Buddy. Construct a block of code that illustrates this concept.