subject

Imagine you are writing a personal fitness program that stores the user's age, gender, height (in feet or meters), and weight (to the nearest pound or kilogram). Declare variables with the appropriate names and types to hold this information. Write a complete variable declaration statement with the type, the variable name, and a semicolon. a.
int age = 12;

char gender = "F";

double height = 5.2;

int weight = 90;

b.
int Age = 12;

char Gender = 'F';

double Height = 5.2;

int Weight = 90;

c.
int age = 12;

char gender = 'F';

double height = 5.2;

int weight = 90;

d.
int age = 12;

char gender = 'F';

double height = 5.2;

int weight = 90.0;

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:00
Hyperactive media sales has 10 windows 7 laptop computers used by sales-people in the organization. each laptop computer has several customized applications that are used during the sales process as well as customer relationship management software. all of the applications on the laptops are difficult to configure and have large data files. if all of the laptops have current hardware, what is the easiest way to install windows 10 on them?
Answers: 1
question
Computers and Technology, 23.06.2019 13:00
Donnie does not have powerpoint. which method would be best for elana to save and share her presentation as is? a pdf a doc an rtf a ppt
Answers: 3
question
Computers and Technology, 23.06.2019 15:10
What role did women fill during world war ii?
Answers: 1
question
Computers and Technology, 23.06.2019 22:30
Jamie has to enter the names, employee id’s, and income of a group of employees into a worksheet. which option will jamie use to describe the data
Answers: 3
You know the right answer?
Imagine you are writing a personal fitness program that stores the user's age, gender, height (in fe...
Questions
question
Mathematics, 22.04.2021 20:00
question
Mathematics, 22.04.2021 20:00
question
History, 22.04.2021 20:00