- 2
Hi, will you help me with the C # language issue?
activity
46 Antworten
+ 17
I wouldn't normally say this, but please complete the first two sections of the SoloLearn C# course. I'm sure you'll have no problem with that and, with the new knowledge gained, you will be able to solve your problems easily.
If you still need help, show us what you have done first
+ 15
Please post your question here, the problem, directly, here. Not elsewhere
+ 13
Oh man, this is gonna take a while
What's N1, successor, predecessor etc?
+ 13
wait
+ 13
Stop...
+ 13
Finally!
+ 12
OK. Now you have posted your question here. We will wait until someone who knows C#, to come give you an answer. We wait.
+ 12
This looks a lot like homework...
Could you split them up into separate questions?
Have you had a try at the C# course? Most of these can be completed with the basics
+ 11
Seeing that you have now posted a new thread, we can get started. Please post your question here.
+ 11
😂😂😂😂😂😂😂
What a long homework
+ 10
For Question No 1,a bit complex method would be below,
https://code.sololearn.com/cS8wsR90oiWW/?ref=app
while a simpler method of solving it is below,
https://code.sololearn.com/cm41Lhr8JxXV/?ref=app
+ 9
For Question No 6,the solution is below(i made use of if else if else statements to solve this,you can also use loops,try and find out how)
You can solve almost all these question with basic Knowledge of C#,am off to bed now..
https://code.sololearn.com/c2L778HUPpYP/?ref=app
+ 9
One more thing @leandro,i was about solving Questions 3 and 4 for you and realised i do not understand what N1 and N2 grades stands for,is this peculiar to your country or i can just use the formula to create the program?
+ 8
For Question No 2,just use the decrement operator a--
+ 8
For Question No 5,check the code below for solution,
https://code.sololearn.com/cJ6vPT7u1WZ2/?ref=app
+ 8
Study Much?
+ 7
You can cover some of the questions with C# basic,i would have a go and help you with some,really happy to see the problems...
+ 4
im not gonna write a program for you though. you have all you need to know now to write those programs.
+ 3
1) Read a number entered by the user and display his successor on the screen.
2) Read a number entered by the user and display his predecessor on the screen.
3) Create a program that prompts the user for the 3 notes in the N1 and calculates the average arithmetic average of the N1. (Sum the
Notes and divides by the amount of notes added).
4) Create a program that asks the user the N1 and N2 grades and calculate the overall average. Formula: (N1 * 2 + N2 * 3) / 5
5) Read a number entered by the user and show on the screen whether it is even or odd.
6) Read three numbers entered by the user and show on the screen which one is the largest.
7) Read a character and tell it on the screen if it is a number or letter.
8) Read a character and tell whether it is a vowel or a consonant.
9) Read two numbers and show the two on the screen, in ascending order. First the smallest, followed by the largest.
10) Read a number and show on the screen whether it is a prime number or not. (Prime numbers can only be divided by 1
And by himself without leaving rest.)
11) Create an algorithm that asks the user for his / her name and age. Next check if the age is higher or lower
Of 18 and write on the screen one of the two messages below, replacing the variables with the values entered:
A) If minor: I am a name and I am years old. I'm still underage.
B) If it is greater: I am a name and I am years old. I am of age and responsible for my actions.
+ 3
ok for all the "read a _____ from the user and _______" you can do
Convert.ToInt32(Console.ReadLine());
or floats or other integers if you want.