Basic Knowledge of a string.
You have given a number from which you have to calculate the number of 5 present in a given number and if you find it correctly you win the game and you get laddus.
Input: - First line will contain integer N, shows number entered.
For each testcase, output in a single line answer given the number of 5 in given number.
In this, a problem you have to create a program in which you should enter the number containing five or not your choice and output should give number of 5 present in input.
In this, you have to write code like this first, you have to write string then write for loop till the end of the string then write if statement with condition that for each element in string check 5 is present or not if yes increment variable otherwise not then, finally print the variable.