Marks out of 500 (an Integer) become a percentage (a Real).
Division gives a RealDatatypes
Built from 3 kinds of block, between Start and End. Each one has a guide.
B4Coder writes the same program as real code. Change the flowchart in the editor and the code changes with it.
marks = int(input("Total marks out of 500 "))percent = marks * 100 / 500print("Percentage: " + str(percent) + "%")How each block becomes code: Python · Java · C++ · C# · JavaScript