Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - I'm new to java.. Need help with variables.

I'm new to java.. Need help with variables.

Put your problem here if it does not fit any of the other categories.

I'm new to java.. Need help with variables.

Postby Ironique » Tue Dec 11, 2012 5:30 am

So I actually studied computer science in collage, but since i haven't used any of my knowledge in some years it's all been forgotten.. One of my studies was C++ and now I like to get into java .
Just one question on my mind right now.
How do you assign a number to a variable? I want to make a really simple program that only uses two variables. The user inputs the first variable and then the second one, then I use the inputs to do a calculation with some other numbers. Nothing too complicated. But I feel lost starting a new language, and having forgotten almost everything I've learned about C++ doesn't help..
If someone could help me I would be ever so grateful!

Btw: The calculation I want to do is "10 / variable * variable2
Ironique
Once Poster
Once Poster
 
Posts: 1
Joined: Tue Dec 11, 2012 4:44 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 8 guests