Question about Computers & Internet

1 Answer

C++ programs using class declaration

C++ programs to convert a decimal number to any other number systems using class dclaration

Posted by on

1 Answer

  • Level 1:

    An expert who has achieved level 1.

  • Contributor
  • 1 Answer

A c++ program to convert decimal numbers to other number systems

Posted on Feb 06, 2009

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

What is a friend function? anyone plase explain me this. what is it.


Using the keyword friend on a function declaration in class A permits declaring a function outside of the class, which is able to access private and protected members of class A.

A friend class, is a relationship where another class B is given access to the private and protected members of class A.

A few good examples are given in the following article:

Friendship and inheritance

Cheers!

Apr 13, 2016 | Sun Java Programming Language (cdj-275)

1 Answer

Could not find the main class: Program will exit


Are you trying to access a program that you downloaded?
Are you trying to program something?

This is an error that is encountered when a program is started but the system cannot find the main class (The first step to starting the program which controls the whole flow of the program)

If it is something you downloaded from a rookie developer, or something you programmed yourself take a look at your main function, it is probably declared improperly. Google the specific language you are using to see how it is supposed to be declared.

If it is a mainstream something you are trying to install and run something somewhere corrupted. Try to re-download and reinstall. If that doesn't work it is possible something in your registry is corrupted... unlikely, but possible.

Feb 16, 2014 | Computers & Internet

2 Answers

How do i recieve answers on the El-W535x SHARP calculator in decimals, need it for buisness class...so if you could answer that question and tell me of any other functions i might be unaware of that might...


Hi there,

My name is adieh.have a great day.

I will give a simple example on how to convert your answer into decimal form. Indicated below:

Q: Simplify 1/2-5/13 convert to decimal

Answer:

Step 1: Enter 1/2 by pressing 1>a/b>2.
Step 2: Subtract by pressing - (negative sign or minus sign)
Step 3: Enter 5/13 by pressing 5>a/b>13.
Step 4: Find the difference by pressing = (equals sign)
Step5: Convert to decimal by pressing (change)
You can find( change) on the right side of your calculator beside M+ key

I am suggesting you to visit this website http://files.sharpusa.com/Downloads/ForHome/HomeOffice/Calculators/Manuals/Archive/cal_man_ELW535B_TeachersGuide.pdf
for you to have further knowledge about various functions of your sharp calculator since you are attending a business/algebra class.

Hope it helps.

Thank you for using fixya.

Sep 22, 2011 | Office Equipment & Supplies

1 Answer

How to program puting a pecentage?


Sad as it may be, this calculator does not have a % button/key/menu. So do not look for it. However you can still convert your decimal numbers to percent values.
1 %= 1 per cent (100) = 1/100=0.01
0.01=0.01*100/100=(0.01*100)/100=1/100=1%
To convert a decimal number to %, move the decimal mark two places to the right.
To convert a percent value to a decimal value, move the decimal mark two places to the left and drop the % symbol.
75%=0.75
135%=1.35

Aug 12, 2011 | Texas Instruments TI-84 Plus Calculator

2 Answers

How to convert a binary to text


Letters can be converted into decimal number using ASCII table. Every Character has it own equivalent number. Once converted into decimal (base 10), I could be easily converted into binary (base 2)
You could also use applications or web based applications such as ASCII to binary converter to help you convert it.

Jul 22, 2011 | Computers & Internet

1 Answer

Code to convert number to string in SQL


Hi,
You could use a combination of the CONVERT and CAST functions to cast the number as a money type, then convert it to a varchar, and then strip off the decimal point and 2 0's at the end: DECLARE @test int SELECT @test = 12345 SELECT REPLACE(CONVERT(varchar(50), CAST(@test AS money), 1),'.00','')
Regards, ploysandy

Jun 26, 2010 | Computers & Internet

1 Answer

Differentiate between nested and inner classes.Explain with examole


best shot that can attempt, hope it helps

Nested Classes vs. Inner Classes
A nested class is a class whose definition appears inside the definition of another class, as if it were a member of the other class. For example, if a program contains class A { class B { // fields, methods of class B... } // fields, methods of class A... } then class B is a nested class of class A. Code outside of the methods of class A can refer to class B by calling it A.B, using the same dot notation as for field and method references. Within the methods of class A class B can be used without qualifying the name. B could be hidden from code outside of class A by declaring it private, just as with fields and methods.
A nested class like B is known as an inner class. An inner class has access to the fields of an instance of its enclosing class. For this reason, an instance of B can only be created in association with an instance of A, using the expression /it instanceA.new A.B(...) outside of A's methods, where instanceA is an instance of A, and
new B(...) inside of A's methods. The new instance of B also knows about the enclosing instance of A, and can refer to it using the expression
A.this We can think of an instance of an inner class as having two this pointers, one for itself and one for its enclosing instance. An inner class may be nested within another inner class, so an inner class can even have multiple levels of this pointers. A nesting depth more than one level is quite uncommon, however, and should usually be avoided.
A nested class can be declared static, in which case it has reduced access to its enclosing class. For example, if B were declared static above, it could no longer access the instance variables of A, and there would be no associated instance A.this. Static nested classes are known as nested top-level classes, because they are exactly like classes declared outside any other class, except for the way they are named. Instances of a static nested class are created using regular new, as in new A.B(...)

Jun 09, 2010 | Sun Java Programming Language (cdj-275)

1 Answer

1. Write a C program that converts a string


Here is a website that should be helpful...

http://www.novaroma.org/via_romana/numbers.html

Mar 17, 2010 | Office Equipment & Supplies

1 Answer

Programming in c


To convert numbers you can use the printf() function
printf("%d", x'FF') hex to decimal
printf("%o", x'FF') hex to octal

If you want to save the value in another variables use sprintf
e.g

a = x'FF';
b = sprintf("%d",a)


Jan 15, 2009 | Computers & Internet

1 Answer

A c prog to convert decimal to hexadecimal number.


Sure, here you go:

int main(void) {
int input;
printf("Enter a decimal number: ");
scanf("%d", &input);
printf ("In hexadecimal, that is: %X\n\n", input);
return 0;
}

Oct 05, 2008 | Computers & Internet

Not finding what you are looking for?
Computers & Internet Logo

Related Topics:

290 people viewed this question

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Les Dickinson
Les Dickinson

Level 3 Expert

18384 Answers

kakima

Level 3 Expert

102366 Answers

David Payne
David Payne

Level 3 Expert

14161 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...