Inches to Feet, Fahrenheit to Celsius Programming Software Development by suziperu …>>A; cout<<A<<" Inches = "<<0.083*A<<" Feet… temperature colder than absolute zero are entered. b) Modify the inches to feet converter to use integer variables. Give the output… as a mixed amount of feet and inches. For example, converting 27 inches to feet should give an output of “2… Re: Inches to Feet, Fahrenheit to Celsius Programming Software Development by GreenDay2001 …this: [code] int oFeet = inches/12; in oInches = inches - (12*oFeet); // or simply: inches%12 if(oFeet==1) { cout …"foot " << oInches << "inches"; } else { cout << " oFeet <&…quot;feet" << oInches << "inches"; } [/code] Also dont use [inlinecode]getch()[/inlinecode] … Feet and inches to meters and cm and vice versa. Programming Software Development by hao001 …); if(choices == 1){ getInput1(feet,inches); convert1(feet,inches,meters,cms); showResult1(feet,inches,meters,cms); } else if(choices ==… 2){ getInput2(meters,cms); convert2(feet,inches,meters,cms); showResult2(feet,inches,meters,cms); } else if(choices == 0… Re: Conversion to inches Programming Software Development by Maabou …); printf("\nPlease enter value number 2 in inches: "); scanf("%lf", &…); printf("\nPlease enter value number 4 in inches: "); scanf("%lf", &…3.2f cm", calculateInches(inches)); return 0; } double calculateInches(double inches) { return inches * 2.54; //printf… More like Photoshop?Can anyone help me with the inches for 4 3/4 x 3 3/4 Inches & the Digital Media UI / UX Design by vickymesh … ad and then 2 1/4x 3 3/4 inches 1/4 page ad if anyone can help me… with the inches for this that would be awesome the lady who… the magazine doesn't know the actual inches for it just the inches. Or if you know what I type… in for inches in the inches area for thes inches is it 4 3/4 inches= 4.34 or more… Conversion to inches Programming Software Development by Maabou …inches5; printf("Please enter value number 1 in inches:"); scanf("%1f",&inches1); printf(&…); printf("\nPlease enter value number 3 in inches:"); scanf("%1f",&inches3); printf…("\nPlease enter value number 4 in inches:"); scanf("%1f",&inches4); printf… Re: Conversion to inches Programming Software Development by midimatt … [B]Line 37[/B] [code] double calculateInches(double inches) [/code] your defining the function "calculateInches"…line 7 should be [code] double calculateInches(double inches); [/code] in your scanf calls your always …B] [code] printf("Please enter value number 1 in inches: "); scanf("%lf", &myInchesArray[0]… Re: More like Photoshop?Can anyone help me with the inches for 4 3/4 x 3 3/4 Inches & the Digital Media UI / UX Design by GreenDay2001 Well set the unit to inches. And yes 4 3/4 is not 4.34 but ((4 * 4)+3)/4 = 19/4 = 4.75. You calcuate it like this: eg. [code][B]x[/B] y/z is ((x*z)+y)/z[/code] Re: Conversion to inches Programming Software Development by Salem Some snippets [code] double myInchesArray[5]; scanf("%lf", &myInchesArray[2] ); // now read about loops [/code] Declare a function [ICODE]void foo ( double inches[] ); [/ICODE] Call a function [ICODE]foo ( myInchesArray);[/ICODE] Define a function [code] void foo ( double inches[] ) { } [/code] Very New to Java and need help converting cubic inches to cm Programming Software Development by grifflyn … to work out the volume of a cylinder in cubic inches with a given radius and height. and then to convert… it from cubic inches to to cubic Cm's which i have done fine… Help needed creating feet and inches keypad Programming Computer Science by markitek … at my cursor, so i can easily enter feet and inches information into the text box. Current QWERTY keyboards are not… customized to make it easy to enter feet and inches. I am not a programmer, but would like to become… get width of windows user control in inches Programming Software Development by viswaug How do i get the width of any windows user control in inches? irrespective of the screen resolution. .NET returns the width in pixels... how do i convert it to inches based on screen resolution. Thank You, Vish Get inches/cencimeters from pixels/dpi Programming Software Development by farsen … say I have a user input his monitor size (in inches) and his current resolution. Would I then be able to… calculate how many inches/cencimeters, lets say a 1000 pixels, would be? Thanks alot… Re: Feet and inches to meters and cm and vice versa. Programming Software Development by WaltP Does it work? Re: Feet and inches to meters and cm and vice versa. Programming Software Development by hao001 [QUOTE=WaltP;1663843]Does it work?[/QUOTE] Yah..I just need some suggestion so that i can improve it or maybe i done something wrong in this program.. =) Re: Conversion to inches Programming Software Development by Salem That's because what I posted were NOT CHANGES, they were hints. As in, you read them and then think about what they're saying, then apply that fresh insight to your specific problem. Re: Conversion to inches Programming Software Development by Aia [QUOTE=Salem;596560]That's because what I posted were NOT CHANGES, they were hints. As in, you read them and then think about what they're saying, then apply that fresh insight to your specific problem.[/QUOTE] An implementation of: [I]Give a man a fish and he will eat for a day. Teach a man to fish and he will eat for the rest of his life.[/… Re: Conversion to inches Programming Software Development by Luckychap Another one: Give man a fish he will keep it for next day. Teach a man how to fish he will keep that fish for another next day. Re: Very New to Java and need help converting cubic inches to cm Programming Software Development by Narue Post the error that you're getting. Often, a syntax error may not be on the line given by the message. It could be a few lines up and the effect of the error isn't seen by the parser until that line. Re: Very New to Java and need help converting cubic inches to cm Programming Software Development by jerbo Check for missing semi colens ';' That would be my first attempt at finding the problem. Re: Very New to Java and need help converting cubic inches to cm Programming Software Development by nanosani Could you post the code that you've done till now ... that way we can be more helpful. Re: Very New to Java and need help converting cubic inches to cm Programming Software Development by alc6379 I slightly modified your post's topic to make it more polite. " Very New to Java and need help ASAP" implied that you deserve precedence over someone else's post, which is kind of considered poor etiquette. Additionally, your thread title has no relevance to your actual question. Creating a relevant thread title also helps you attract … Re: Very New to Java and need help converting cubic inches to cm Programming Software Development by grifflyn Hi thanks for replying to my request i have checked and double checked everything and still cant get it to compile. i hope its not too much to ask if you could have a look at this for me. thanks i advance if you can import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; public class … Re: Very New to Java and need help converting cubic inches to cm Programming Software Development by grifflyn Thanks for letting me know the rules and stuff i am Pretty new to forums in fact very new its the first time i have ever used one. I will bear in mind what you have said if i need more help Thanks for the Advice grifflyn Re: Very New to Java and need help converting cubic inches to cm Programming Software Development by server_crash You have alot of conversion problems that need to be fixed. But even when they are fixed the program doesnt really work the way you have it. If you want to convert the input to a double do something like this: Double d = Double.valueOf(BufferedReaderVariableName.readLine().trim()); double d2 = d.doubleValue(); Re: Get inches/cencimeters from pixels/dpi Programming Software Development by Lusiphur Realistically... if you had the resolution of the screen and the actual monitor dimensions (inside dimensions vertical and horizontal) then you could do a straight ratio conversion. For example, my resolution is 1680x1050 but I don't have an actual measuring tape handy to tell you the height and width of the "viewable space" of my … Re: Get inches/cencimeters from pixels/dpi Programming Software Development by farsen Thanks for your answer :) Yea, it seems like the only most precise and easy (and clumsy) way, is to make the user measure the height and width of his monitor size with a measuring tape, and then calculate the distance. Thanks :) A possible edit of my code? Programming Software Development by jmcorpse …{ //Variables for the program. double feet,inches,meters,cm;//Variables for the program. char … and centimeters from feet and inches. standtometcon(feet,inches,meters,cm);//This is the…"\nPlease enter the amount of inches: "; cin >> inches; cout << endl; return… Operator Overloading HELP! Programming Software Development by balla4eva33 …; d2) const { feet += d2.feet; //add the feet inches += d2.inches //add the inches if(inches >= 12) //if total exceeds 12.0, { //then… Re: Operator Overloading HELP! Programming Software Development by balla4eva33 …" void Distance::Normalize() { if (inches >= 12) { do { inches -= 12; feet++; } while (inches >= 12); } } int Distance::…{ feet = d2.feet; inches = d2.inches; Normalize(); } void Distance::operator = (int value) { feet = 0; inches = 0; inches = value; Normalize(); } …