True.... ca i have brainliest?
Your percentage gain on the investment was d)15%
To find percentage increase we subtract original number from new number.
2,643 - 2,300 = 343
Then we divide 343 by 2,300 = .1491
Then you multiply by 100.
.1491 * 100 = 14.91
It is a 14.91% (rounded) increase.
So the nearest percent out of these options would be 15%.
Hope this helps you! (:
-Hamilton1757
Answer:
#include<iostream>
using namespace std;
int main(){
int sum = 12+33;
cout<<"The sum is: "<<sum<<endl;
}
Explanation:
First include the library iostream in c++ program for input/output.
Then, create the main function and declare the variable sum as integer type and store the sum of two given values.
After that, display the result store in the sum variable on the screen by using the instruction cout.
Answer in python:
import random
money = 10
winnings = 0
def main():
global winnings
global money
dice_num = random.randrange(1,6)
input_str = "Guess the dice number. You have $"+str(money)+" > "
input_num = input(input_str)
if int(input_num) == dice_num:
money = money + 10
winnings = winnings + 10
else:
money = money - 1
if money < 0:
print("You lose. You won "+str(winnings)+" times. Press enter to try again")
useless_variable = input()
main()
else:
main()
main()
Explanation: