You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Coding Exercise 1: Declaring and Initializing Variables
2
+
3
+
You must declare a totale of **THREE** variables, each of a different type, to represent the employee's **name**, **age**, and **hourly_wage**.
4
+
5
+
-`age` should be an `int`
6
+
-`name` should be a `string`
7
+
-`hourly_wage` should be a `double`
8
+
9
+
- You must initialize the **hourly_wage** to **23.50**. In order to set the values
10
+
- For **name** and **age** you must use `cin` and the extraction operator `>>` to allow the employee to enter their **name** and **age** in that order separated by a single space.
0 commit comments