5.4.7 Teenagers Code HS
Can someone help me with this? i currently have
if (age = 13){<...
Computers and Technology, 20.10.2020 05:01 HAPPYVIBES
5.4.7 Teenagers Code HS
Can someone help me with this? i currently have
if (age = 13){
println("Yes, you are a teenager.");
}else{
if (age <= 19){
println ("No, you are not a teenager.");
}
and anytime I type anything it always says yes so I'm confused.
Answers: 2
Computers and Technology, 22.06.2019 17:20
[a] create a class called “cycle” which has two instance integer variables as properties, “numberofwheels” and “weight.” create a constructor with two parameters, using the same variable names in the parameter list. assign each variable to numberofwheels” and “weight” respectively. write a separate application to test the class and display its properties. note: do not change the names of the instance variables or the variables listed in the constructor’s parameter list. [b] edit your class cycle by adding a default constructor which will assign the default values of 100 to represent the numberofwheels, and 1000 to represent the weight, by invoking a call to the other constructor. modify your application created in [a] to test the class.
Answers: 3
Computers and Technology, 23.06.2019 10:00
Hey i just logged on and one of the moderators deleted a bunch of my answers to questions, even though the answers were right and the people it doesn't make sense but if anyone wants to talk about anything just message me lol (this is super random lol)
Answers: 1
Computers and Technology, 24.06.2019 04:30
Write and test a python program to find and print the largest number in a set of real (floating point) numbers. the program should first read a single positive integer number from the user, which will be how many numbers to read and search through. after reading in all of the numbers, the largest of the numbers input (not considering the count input) should be printed.
Answers: 1
Medicine, 02.09.2020 18:01
Law, 02.09.2020 18:01
Mathematics, 02.09.2020 18:01
History, 02.09.2020 18:01
History, 02.09.2020 18:01
English, 02.09.2020 18:01
English, 02.09.2020 18:01
Advanced Placement (AP), 02.09.2020 18:01
History, 02.09.2020 18:01