Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

program should be written in python 3 X A.Guits - Xidmate Add + Add to Points Program 2 5 Points wie program that prompts the

program should be written in python 3 image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
X A.Guits - Xidmate Add + Add to Points Program 2 5 Points wie program that prompts the water sumber then the ruit of the following ution play the result with one dotate the decimal pole ber Result Cos Program 1 write a program that prompts the user to enter the total number of the student's anos Then your program should computer and display the percentage of absence number according to the following form used function to display the result integer absence_count percentage of absence x 100 48 2 Note: Your promotort the muth module wunction to solve the won the equation without using the functions.pt of the dege will be deducted The winner DX + AM XO were the There tersalah her V The the Program 1 5 Points Write a program that prompts the user to enter the total number of the student's absences. Then your program should compute and display the percentage of absences as integer number according to the following formula: Use int() function to display the result as integer. absences_count percentage of absences = X 100 48 + Add to a t4 X Edit & Create Shar Add to t. * Edit & Create Enter the total number of the student's absences: 15 center> The percentage of absences is 31 % Enter the total number of the student's absences: 12 enter> The percentage of absences is 25 % 2 + Add to 4 Edito 5 Points Program 2 Write a program that prompts the user to enter a number then calculate the result of the following equation. Display the result with one digit after the decimal point. Result = cos 3 x number 2 Note: Your program must import the math module and use functions to solve the equation, if the equation is solved without using the functions, part of the degree will be deducted. The following are sample runs: + Add to X Edit & Create Share nh -png + Add to 5 Please enter a number: 26 center> The result of the equation is: 0.3 Please enter a number: 8 center> The result of the equation is: 0.8

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional SQL Server 2012 Internals And Troubleshooting

Authors: Christian Bolton, Justin Langford

1st Edition

1118177657, 9781118177655

More Books

Students also viewed these Databases questions