| | |
how to declare two integer variables x and y
Please support our C advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
•
•
Originally Posted by alexmejia92
a) declare two integer variables x and y
b) let x = 6
c) find y value use the following algebraic formula
y=2x (third power) + 5
int y;
b) y = 6;
c) y = 2 * (x ^3) + 5;
•
•
•
•
Originally Posted by nanosani
c) y = 2 * (x ^3) + 5;
"One of the methods used by statists to destroy capitalism consists in establishing controls that tie a given industry hand and foot, making it unable to solve its problems, then declaring that freedom has failed and stronger controls are necessary." --Ayn Rand
![]() |
Similar Threads
- Can't get rid of this 1error (C++)
- Comparing Python and C, Part 1, Integer Variables (Python)
- beginners program; can't get min value (C++)
- please help me (C)
Other Threads in the C Forum
- Previous Thread: A mistake about struct
- Next Thread: Trees?
| Thread Tools | Search this Thread |
Tag cloud for C
adobe ansi api array arrays asterisks binarysearch calculate centimeter char convert copyimagefile copypdffile cprogramme creafecopyofanytypeoffileinc createcopyoffile csyntax directory drawing dynamic fflush file fork forloop frequency getlasterror givemetehcodez graphics gtkgcurlcompiling hacking hardware highest homework i/o inches incrementoperators infiniteloop interest kernel km lazy linked linkedlist linux linuxsegmentationfault list lists locate logical_drives match matrix microsoft motherboard multi mysql number open opendocumentformat opensource owf pattern pdf performance pointer pointers posix problem probleminc program programming pyramidusingturboccodes radix recursion recv repetition research scanf scheduling scripting segmentationfault send sequential shape socketprograming spoonfeeding stack standard string strings structures student systemcall testautomation turboc unix user variable voidmain() wab windows.h






