Question: Program like a begginer! copy paste from chat gpt is not good solution here! Task 1 1 . Write a program that will calculate the
Program like a begginer! copy paste from chat gpt is not good solution here! Task Write a program that will calculate the factorial of a number
Write the program in two ways: using for and while loops.
Task Analyze the following while loops
broj
broj
while broj :
while broj :
broj
broj
printbroj
printbroj
broj
broj
while broj :
broj
printbroj
if broj :
broj
Task Guessing the number until it is not hit Implement a number guessing game ranging from to Each guessing attempt consists of an entry Task Leap year
Write a program that asks for a year input and checks if the year is a leap year. A year is a leap year if: is divisible by but not by or
year is divisible by
If the year meets these conditions, the program should print the message:
Godina je prijestupna.
Ako godina nije prijestupna, program treba ispisati poruku:
Godina nije prijestupna.
Task :Write a program that asks the user to enter two numbers float and an operator left lright The program should print the result of the operation on the entered numbers in the format:
Rezultat operacije je
Ako korisnik pokua dijeljenje s nulom, program treba ispisati poruku:
Dijeljenje s nulom nije dozvol jeno!
ko korisnik unese nepodrani operator, program treba ispisati poruku:
Nepodrani operator I
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
