救命... [英] help...

查看:63
本文介绍了救命...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这里是交易。我迫切需要C#的帮助。

我现在正在DeVry上课,我们正在做C#。

我已经完成了C ++的最后一次学期,所以我知道我应该能够接受这些东西。但我似乎无法掌握它

。我不知道C#是如何运作的。我周二有一个

计划。这就是它是什么..


我们必须编写程序作为用户输入选项

来显示数字的乘法表1-9。他们的第一个

选择是以十进制显示它。他们拥有的第二个

选择是以十六进制显示它。和im

完全迷失在哪里开始以及如何去做。如果你们中的任何一个

可以帮助我,我会非常感激。


谢谢


Corey

解决方案

" Corey Dyke" < CD *** @ telus.net>在新闻中写道:F9yUa.19565


46.3384989

@ news2.telusplanet.net:

我已经上学期完成了C ++,所以我知道我应该能够抓住这些东西。但我似乎无法掌握它
。我不知道C#是如何运作的。
你的意思是什么?它是如何运作的?

哪一部分?

我们必须编写一个程序作为用户输入选择
显示数字1-9的乘法表。他们的第一个选择是用十进制显示它。他们的第二个选择是以十六进制显示它。而且我完全迷失在哪里开始以及如何去做。如果你们中的任何人能够帮助我,我会非常感激。




从头开始。计划你要做的事情并将其分解为

较小的步骤。写下每一个并让它工作,然后转到

。基本轮廓可能看起来像;


- >提示用户

请参阅:Console.WriteLine(提示);


- >从键盘上读取

见:Console.ReadLine();


- >检查从键盘获得的值

请参阅:if / else或select / case语句


- >生成并打印乘法表

在纸上绘制一个开头并观察你如何写它。

可能在行中...... 1 * 1,1 * 2,1 * 3 ...然后2 * 1,2 * 2,2 * 3 ......

请参阅:''for''循环和Console.Write()


从打印乘法表的一部分开始,或者在担心十六进制之前只用一个
十进制表格。

如果没有帮助,很难有用完全放弃它,但是我希望这会有所帮助:)

干杯,

西蒙。


或者你可以放弃这个课程并拿走别的东西。

如果你不能处理你的话,你希望成为什么样的专业人士

在大学做作业,并要求人们为你做功课???你为什么不问你的老师?

" Corey Dyke" < CD *** @ telus.net>在消息中写道

新闻:F9 ******************** @ news2.telusplanet.net。 ..

k这里是交易。我迫切需要C#的帮助。
我现在正在DeVry学习,我们正在做C#。
我上学期已经完成了C ++,所以我知道我应该是能够接受这些东西。但我似乎无法掌握它
。我不知道C#是如何运作的。我星期二有一个
节目。这就是它是什么..

我们必须编写一个程序作为用户输入选择
显示数字1-9的乘法表。他们的第一个选择是用十进制显示它。他们的第二个选择是以十六进制显示它。而且我完全迷失在哪里开始以及如何去做。如果你们中的任何人能够帮助我,我会非常感激。

感谢

Corey



k here''s the deal. im in desperate need of help with C#.
i''m taking a course at DeVry now and we''re doing C#.
i''ve done C++ last semester, so i know i should be able to
catch on to this stuff. but i can''t seem to get a grasp on it
at all. i don''t know how C# really works. and i have a
program due on tuesday. here''s what it is..

we have to write a program to as the user to enter a choice
to display a multiplication table for numbers 1-9. the first
choice they have is to display it in decimal. the second
choice they have is to display it in hexadecimal. and im
totally lost in where to start and how to do it. if any of you
can help me, i''d grealy appreciate it.

thanks

Corey

解决方案

"Corey Dyke" <cd***@telus.net> wrote in news:F9yUa.19565


46.3384989
@news2.telusplanet.net:

i''ve done C++ last semester, so i know i should be able to
catch on to this stuff. but i can''t seem to get a grasp on it
at all. i don''t know how C# really works. What do you mean by "how it really works"?
Which part?
we have to write a program to as the user to enter a choice
to display a multiplication table for numbers 1-9. the first
choice they have is to display it in decimal. the second
choice they have is to display it in hexadecimal. and im
totally lost in where to start and how to do it. if any of you
can help me, i''d grealy appreciate it.



Start at the beginning. Plan what you have to do and break it down into
smaller steps. Write each one and get it to work, then move on to the
next. A basic outline might look like;

-> prompt the user
see: Console.WriteLine("a prompt");

-> read from the keyboard
see: Console.ReadLine();

-> check the value you get from the keyboard
see: if/else or select/case statements

-> generate and print multiplication tables
Draw the start of one on paper and watch how you write it.
Probably in rows... 1*1, 1*2, 1*3... then 2*1, 2*2, 2*3...
see: ''for'' loops and Console.Write()

Start with getting part of a multiplication table printed, or just one in
decimal before worrying about hex.
It''s tough to try being helpful without giving it away completely, but I
hope this helps :)
Cheers,
Simon.


Or you can drop this course and take something else.
What kind of professional are you hoping to become if you cannot handle your
homework in college and ask people to do your homework for you??? Why don''t
you ask your teacher?
"Corey Dyke" <cd***@telus.net> wrote in message
news:F9********************@news2.telusplanet.net. ..

k here''s the deal. im in desperate need of help with C#.
i''m taking a course at DeVry now and we''re doing C#.
i''ve done C++ last semester, so i know i should be able to
catch on to this stuff. but i can''t seem to get a grasp on it
at all. i don''t know how C# really works. and i have a
program due on tuesday. here''s what it is..

we have to write a program to as the user to enter a choice
to display a multiplication table for numbers 1-9. the first
choice they have is to display it in decimal. the second
choice they have is to display it in hexadecimal. and im
totally lost in where to start and how to do it. if any of you
can help me, i''d grealy appreciate it.

thanks

Corey



这篇关于救命...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆