Code the following exercises using javascript. 1) VERY EASY: Create two variables and assign a number to each. Console

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Code the following exercises using javascript. 1) VERY EASY: Create two variables and assign a number to each. Console

Post by answerhappygod »

Code the following exercises usingjavascript.
1) VERY EASY: Create two variables and assign a number to each.Console log the difference between the numbers. Example output:“The difference between 6 and 2 is 4”
2) EASY: Create two variables and assign a person’s name toeach. Console log a statement that says which name is shorter orlonger, and by how many characters. Example output:“The name Thomas is longer than John by 2 characters”
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply