Week 1: Assignment 1 - Question 1
Due on 2022-03-02, 23:59 IST
You will be given 3 integers as input. The inputs may or may not be
different from each other.
You have to output 1 if sum of first two inputs is greater than the third input,
and 0 otherwise
Input
-------------------------------------
Three integers separated by space.
Output
----------------------------------
1 if sum of first two inputs is greater than third input
0 otherwise
different from each other.
You have to output 1 if sum of first two inputs is greater than the third input,
and 0 otherwise
Input
-------------------------------------
Three integers separated by space.
Output
----------------------------------
1 if sum of first two inputs is greater than third input
0 otherwise
Private Test cases used for Evaluation | Status |
Test Case 1 | Passed |
Test Case 2 | Passed |
Test Case 3 | Passed |
Test Case 4 | Passed |
Test Case 5 | Passed |
Week 1: Assignment 1 - Question 2
Due on 2022-03-02, 23:59 IST
You are given two integers, say M and N.
You have to output 1, if remainder is 1 when N divides M
otherwise output 0
Input----------------------------
Input----------------------------
Two integers, say M and N.
Output---------------------------------------------------
You have to output 1 if remainder is 1 when M/N.
You have to output 0 , otherwise.
Public Test Cases | Input | Expected Output | Actual Output | Status |
---|---|---|---|---|
Test Case 1 | 16 4 | 0 | 0 | Passed |
Test Case 2 | 4 3 | 1 | 1 | Passed |
Private Test cases used for Evaluation | Status |
Test Case 1 | Passed |
Test Case 2 | Passed |
Test Case 3 | Passed |
Test Case 4 | Passed |
Test Case 5 | Passed |
Week 1: Assignment 1 - Question 3
Due on 2022-03-02, 23:59 IST
Input : Triplet of three numbers (a,b,c)
Output : 1 if they are either in strictly increasing (a>b>c) or decreasing (a<b<c) order
0, otherwise.
Output : 1 if they are either in strictly increasing (a>b>c) or decreasing (a<b<c) order
0, otherwise.
Private Test cases used for Evaluation | Status |
Test Case 1 | Passed |
Test Case 2 | Passed |
Test Case 3 | Passed |
Test Case 4 | Passed |
Test Case 5 | Passed |
Watch the video to see the program in motion.
Please subscribe to our YouTube Channel : Swayam Solver
This will help the creator to continue making quality content...
Have a great day !
No comments:
Post a Comment
Keep your comments reader friendly. Be civil and respectful. No self-promotion or spam. Stick to the topic. Questions welcome.