For the 1st problem, use the lenght function.
2nd, check the string character by character until
A) You find a non digit (correct)
B) The string ends (Incorrect password, all digits)
(You must compare the ASCII codes)
3rd. Same thing, but check the entire string for a space.
Remember you need to enclose your code in quote tags.
write a C++ program which take inputs from the user/keyboard and calculate his ZAKAT.
get the input from user may include
-Amount invested in business
-Amount given to other business partners as loan
-Amount payable to others
I made a prime number finder, it finds the nearest prime that is above and below any integer (Does not work that well with giant numbers.)
Made this in cpp.sh
Why would I need the x=y+1-1;?
x=y; just doesnt seem to work
Why is this?
And I know my coding ...