0% found this document useful (0 votes)
14 views1 page

NodeJS Menu-Driven Calculator App

This document outlines the requirements for a Node.js certification training module assignment to create a menu-driven command line application that allows a user to enter two numbers and perform basic arithmetic operations on them, including addition, subtraction, multiplication, and division. The menu must include options for these operations and an exit option. The application needs to handle divide-by-zero errors and only exit when the user selects the exit menu option.

Uploaded by

mahek188
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views1 page

NodeJS Menu-Driven Calculator App

This document outlines the requirements for a Node.js certification training module assignment to create a menu-driven command line application that allows a user to enter two numbers and perform basic arithmetic operations on them, including addition, subtraction, multiplication, and division. The menu must include options for these operations and an exit option. The application needs to handle divide-by-zero errors and only exit when the user selects the exit menu option.

Uploaded by

mahek188
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

NodeJS Certification Training

Module 1: Assignment
Problem Statement:
Create a simple menu-driven command line application using Nodejs in which the user can
enter two numbers and perform addition, multiplication, subtraction, and division.
The requirements look like this:
1. The menu should contain these operations:
 Addition
 Subtraction
 Multiplication
 Division
 Exit
2. The application should handle DivideByZero error by showing an error message.
3. The application should exit only when a user chooses the exit option in the menu.

support@[Link] - +91-7022374614 - US: 1-800-216-8930 (Toll Free)

You might also like