Write a program called TriangleArea, which calculates and outputs the Area of a triangle with a Base value of 3.5 and a Height value of 4.85. The formula for the area of a triangle is: 1/2 ×???? × ????ℎ?. Your program should output the correct answer
1 .Write a program that prints out three different tic tac toe winning results. Make each one bigger than the last, separated by more spaces and lines:
2. Write a program called TriangleArea, which calculates and outputs the Area of a triangle with a Base value of 3.5 and a Height value of 4.85. The formula for the area of a triangle is: 1/2 ×???? × ????ℎ?.
Your program should output the correct answer.
3. Write a program that will tell me the conversion of 60 miles, into kilometers. Remember that 1 mile is 1.60934 kilometers.
4. Write a sequence of output statements to display your initials (2 – 3 letters) using a cool pattern for each letter. For example, here is a simple pattern for the initials IL:
II LL
II LL
II LL
II LL
II LL
II LL
II LL
II LL LL LL LL
Use around 8 statements to complete this exercise.
5.
Write a program that asks the user to input a number. Then tell them the triple up. For example, if the user inputs a 7, the program should output \~Triple up is 21~\
Don’t be fooled - Notice how the \~ and the ~\ should surround your answer
Hello Student
Greetings
Hope you are doing great.
As per our policy guidelines, in case of multiple questions, we are allowed to answer the 1st question only. So kindly repost the remaining questions separately. Since the 1st question is lacking some information please repost that question again with missing information and so I am answering 2nd question.
Thank You!!!
Step by step
Solved in 4 steps with 2 images