https://github.com/ahmadjajja/assignment-04---js-questions--week04
https://github.com/ahmadjajja/assignment-04---js-questions--week04
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ahmadjajja/assignment-04---js-questions--week04
- Owner: Ahmadjajja
- Created: 2022-07-15T15:20:10.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-26T10:10:14.000Z (over 2 years ago)
- Last Synced: 2025-01-21T21:33:09.812Z (9 months ago)
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Assignment-04---js-Questions--week04
Dear Students
Mobile Application Development Course - Youtube
Assignment 04 - week04
Requirements:
Try to build logic for the below programs
Console them to terminal e.g Question01 > result
Don’t post the solution code in group, only post the terminal result
```javascript
Question-01What values do the following expressions evaluate to, console the results?
false || (true && false);
true || (1 + 2);
(1 + 2) || true;
true && (1 + 2);
false && (1 + 2);
(1 + 2) && true;
(32 * 4) >= 129;
false !== !true;
true === 4;
false === (847 === '847');
false === (847 == '847');
(!true || (!(100 / 5) === 20) || ((328 / 4) === 82)) || false;
Question-02
Add a validation check to ensure that, a number is an integer. If it isn't, then issue an error message and console it.
Question-03
Write a js program to find maximum between two numbers.
Question-04
Write a js program to find maximum between three numbers.
Question-05
Write a js program to check whether a number is negative, positive or zero.
Question-06
Write a js program to check whether a number is divisible by 5 and 11 or not.
Question-07
Write a js program to check whether a number is even or odd.
Question-08
Write a js program to check whether character is an alphabet or not
```Submit: Post your assignment console screenshot in the group (https://www.facebook.com/groups/learnwithnaveedsarwar)
Submit your code here:
https://forms.gle/Cr6jyuLjvixNWo4JA