Answer:
This is worth 50 dollars.
Explanation:
١ - one
٢ - two
٣ - three
٤ - four
٥ - five
٦ - six
٧ - seven
٨ - eight
٩ - nine
٠ - zero
What you see above is the ten digits in Arabic.
Both 5 (٥) and 0 (٠) appear here, thus representing 50.
Answer:
#include <iostream>
using namespace std;
const int NRSTARS=50;
int main() {
cout << string(NRSTARS, '*') << endl;
cout << "Welcome!\nPlease choose a number from the following options:" << endl;
cout << "1. Play the MAD LIBS game!" << endl;
cout << "2. Play the CHOOSE YOUR OWN ADVENTURE game!" << endl;
cout << "3. Exit" << endl;
cout << string(NRSTARS, '*') << endl;
}
Answer:
16396
Explanation:
400C = (4 × 16³) + (0 × 16²) + (0 × 16¹) + (12 × 16⁰) = 16396
https://www.rapidtables.com/convert/number/hex-to-decimal.html
Answer:
In Python:
numDays = int(input("Days: "))
print("Number of days: "+str(numDays)+"\n")
Explanation:
The program was written in Python and the explanation is as follows;
First, get the input for the number of days from the user
<em>numDays = int(input("Days: "))</em>
Next, print string "Number of days: " followed by the number input from the user and then newline
<em>print("Number of days: "+str(numDays)+"\n")</em>
<em>The character \n represents new line</em>