subject

Bài tập 1: Viết chương trình in ra số lớn hơn trong hai số a, b (Với 2 số a, b được nhập từ bàn phím).
Bài tập 2: Viết chương trình xét xem một tam giác có là tam giác đều hay không khi biết ba cạnh của tam giác. Với 3 cạnh a, b,c được nhập từ bàn phím. Hướng dẫn: . Nhập ba cạnh của tam giác vào từ bàn phím . Nếu a=b và b=c và cẩ=a thì tam giác là tam giác
đều và ngược lại tam giác không là tam giác đều. (hàm và (and))

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 17:30, Samsonb
Working on this program in python 3.7: a year in the modern gregorian calendar consists of 365 days. in reality, the earth takes longer to rotate around the sun. to account for the difference in time, every 4 years, a leap year takes place. a leap year is when a year has 366 days: an extra day, february 29th. the requirements for a given year to be a leap year are: 1) the year must be divisible by 42) if the year is a century year (1700, 1800, the year must be evenly divisible by 400some example leap years are 1600, 1712, and 2016.write a program that takes in a year and determines whether that year is a leap year. ex: if the input is 1712, the output is: 1712 is a leap year. ex: if the input is 1913, the output is: 1913 is not a leap year. your program must define and call the function isleapyear(useryear). the function should return true if the input year is a leap year and false otherwise.
Answers: 1
image
Computers and Technology, 22.06.2019 20:40, broang23
Write a program that begins by reading in a series of positive integers on a single line of input and then computes and prints the product of those integers. integers are accepted and multiplied until the user enters an integer less than 1. this final number is not part of the product. then, the program prints the product. if the first entered number is negative or 0, the program must print “bad input.” and terminate immediately. next, the program determines and prints the prime factorization of the product, listing the factors in increasing order. if a prime number is not a factor of the product, then it
Answers: 2
image
Computers and Technology, 23.06.2019 07:00, Dvrsug8598
You need a quick answer from a coworker. the most effective way to reach your coworker is through a. cloud server b. instant message c. teleconference d. telepresence
Answers: 1
image
Computers and Technology, 23.06.2019 18:00, joybeth9591
What can a word user do with the customize ribbon dialog box? check all that apply. minimize the ribbon add a new tab to the ribbon remove a group from a tab add a group to a tab choose which styles appear choose which fonts appear choose tools to appear in a group
Answers: 1
You know the right answer?
Bài tập 1: Viết chương trình in ra số lớn hơn trong hai số a, b (Với 2 số a, b được nhập từ bàn p...

Questions in other subjects:

Konu
Mathematics, 23.04.2021 06:20
Konu
Spanish, 23.04.2021 06:20