+ 3

Challenge! i.e (4/0 or 4Ă·0) What is Ans or Error? Without any if else & try catch.

Challenge to all of you! If a person Diving by zero (Ex: 4/0) what is Answer or Error show, if you do not mentioned if, Else and try, catch in the program. OR How to write program for 4Ă·0 Ans or Error without use if else, while, do while, switch case, for loop, for each loop and try catch.

12th Mar 2019, 4:32 PM
Ausaf Ulhaq Shaikh
Ausaf Ulhaq Shaikh - avatar
5 Answers
+ 7
// If you divide 4 by 0, Output: Infinity or Error.
27th Apr 2019, 2:17 PM
program
program - avatar
+ 3
// You can check the answers who have corrected to clicking "Check Correct Answers" in the challenges.
12th Mar 2019, 7:42 PM
program
program - avatar
+ 1
Any one able to give answer?
27th Apr 2019, 1:22 PM
Ausaf Ulhaq Shaikh
Ausaf Ulhaq Shaikh - avatar
+ 1
Thanks again for reply. got it.
28th Apr 2019, 7:01 AM
Ausaf Ulhaq Shaikh
Ausaf Ulhaq Shaikh - avatar
0
Cv
1st May 2019, 10:13 AM
Ahmed Hasni
Ahmed Hasni - avatar