asked 129k views
3 votes
Write declaration statements to declare and initialize two variables: one is an integer variable named age, initialized to 18, and the other variable, named weight, is initialized to 114.5

1 Answer

2 votes
in Java....

int age=18;

float weight=114.5;
answered
User Tasmia
by
7.6k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.