i have 4 int values and they can be different to each other or they can be equal,i want to write a programme to find what are the lowest values and how much of them...
Eg:(val1=5,val2=3,val3=10,val4=3)
lowest value=3,
lowest variables are val2 and val4
Do you know how for loops work? Are you familiar with the function min().
If yes to both, then you should be able to solve your problem.
I would make two functions, one to find the minimum value and the other to look for how many of that value.
I'll give you a Karma point if you can combine both into one function that returns both values.