Question: larr JAVASCRIPT PROGRAMMING PRACTICE I Description Submissions Description Print Numbers with Remainder 3 When Divided by 7 In Progress Easy Write a function that takes

larr JAVASCRIPT PROGRAMMING PRACTICE I
Description
Submissions
Description
Print Numbers with Remainder 3 When Divided by 7
In Progress
Easy
Write a function that takes an array as input and prints numbers that have a remainder of 3 when divided by 7
Input
The first line of input will contain an array.
Output
The Output Should be a single line containing an array which prints the numbers with Remainder 3 When Divided by 7.
Explanation
Read an array as input and prints numbers from the array that have a remainder of 3 when divided by 7.
For Example, in the input array 7,17,5,45, the numbers with a remainder of 3 when divided by 7 are 17 and 45.
Sample Input 1
"use strict";
process.stdin.r
process.stdin.s
5 let inputstring
6 process.stdin.o
7 inputstring +
8});
9- process.stdin.o
10 inputstring =
11 main();
12);
13- function readlir
14 return inputst
15}
16- function main()
17 let input = re
18 let array =35
19 Let result = n
20 console. log(re
larr JAVASCRIPT PROGRAMMING PRACTICE I

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!