119k views
1 vote
How to declare a double variable named total with an initial value of 34.45 ?​

How to declare a double variable named total with an initial value of 34.45 ?​-example-1

1 Answer

2 votes

Answer:

double total =34.45; And for the photo: int num = -5;

User PaulMurrayCbr
by
7.8k points