Skip to content
This repository has been archived by the owner on Aug 29, 2022. It is now read-only.

Average of Numbers #743

Closed
1 task done
Tracked by #127
harshraj8843 opened this issue Jun 9, 2022 · 2 comments · Fixed by #889
Closed
1 task done
Tracked by #127

Average of Numbers #743

harshraj8843 opened this issue Jun 9, 2022 · 2 comments · Fixed by #889
Labels
good first issue Good for newcomers help wanted Extra attention is needed JavaScript JavaScript related programme Programme related topics

Comments

@harshraj8843
Copy link
Collaborator

Title of programme

Write a JavaScript programme to calculate the average of numbers.

Additional information

Input:  2 3 4
Output: 3

Code of Conduct

@harshraj8843 harshraj8843 added good first issue Good for newcomers programme Programme related topics JavaScript JavaScript related labels Jun 9, 2022
@harshraj8843 harshraj8843 mentioned this issue Jun 9, 2022
7 tasks
@harshraj8843 harshraj8843 added the help wanted Extra attention is needed label Jun 9, 2022
@enoch-baffoe
Copy link

var a = parseInt(prompt("Enter First Number: "));
var b = parseInt(prompt("Enter Second Number: "));
var c = parseInt(prompt("Enter Third Number: "));

var average = (a + b + c) / 3;

@harshraj8843
Copy link
Collaborator Author

var a = parseInt(prompt("Enter First Number: ")); var b = parseInt(prompt("Enter Second Number: ")); var c = parseInt(prompt("Enter Third Number: "));

var average = (a + b + c) / 3;

Hey @tera-code

Thanks for showing interest in this project 😃

Could you please raise a PR for this

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers help wanted Extra attention is needed JavaScript JavaScript related programme Programme related topics
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants