C# C# Basics (Retired) Perfect Integers and Doubles

what is it asking me to do?

I can't tell if this is asking me to pick one of the choices or if it is asking me to combine them into an equation. if that is the case howdy I do that I'm having trouble with the double / int?

1 Answer

Pierre Gadea
Pierre Gadea
4,450 Points

It's asking what the example will give you when it executes -- int x = 2.9. Look at each part closely, the variable x is declared as an int data type with a value of 2.9. Is 2.9 a number of type int? Try putting that same example in an online IDE or your local IDE and see what happens.