Tutorials Posted by tayunyang

tayunyang from
tayunyang
tayunyang
Rating (5): A-
Questions Asked: 0
Tutorials Posted: 60, earned $93.92

tayunyang's Posted Tutorials
Bounty Category Question Tutorial Date Posted
$4.00 Computer-Science C++ help! c++ App
...     phone = line.substr(1, pos); // get phone string                  name  = line.substr((pos + 1), (line.length() - pos)); // get name string                names[i] = name; // store in array      ......
Nov. 19, 2009 at 11:38:38AM
$4.00 Computer-Science C++ help! CBR2 c++ prorgam
... int main () {    string  filename = "phoneData.txt";     string   line;     ifstream file;     fstream  newfile;     string   list[200];     int  i = 0;     int   k;     // open file     file.ope...
Nov 14, 2009 at 3:39:38PM
$20.00 Computer-Science PL/SQL Triggers trigger
...rg; / CREATE OR REPLACE TRIGGER emp_sal_trg BEFORE INSERT OR UPDATE ON emp REFERENCING NEW AS NEW OLD AS OLD FOR EACH ROW DECLARE v_sal  NUMBER(7,2); v_error  VARCHAR2(500); v_count  NUMBER(5);......
Nov 13, 2009 at 12:57:31PM
$15.00 Computer-Science java2 Java program
...o While Loop");        do        {          System.out.println(i + "  " + i*i);          i...
Oct 11, 2009 at 11:24:03PM
$2.00 Computer-Science Help with SQL using Oracle oracle SQL
...t to print out one student, but I have another student who has also only taken 3200 but not 3700 but he isn't being shown.*/ -- updated select student.student_name from student, enrolls, class where......
Oct 10, 2009 at 4:45:35PM
$7.00 Computer-Science C++ Programming ( Easy ) 10.09.2009 - 1st c++ program
...              sum = sum + 55.0;             break;         }         case 1:         {             sum = sum + 45.0;             if (parking == 'y')                 sum = sum + 45.0;            ......
Oct 09, 2009 at 5:05:36PM
$1.00 Computer-Science Problems with Oracle SQL oracle sql
...the insert statement. I use both schedule_num and semeter for Class table in the script. (2) 2 queries are -- Find the department, course number, semester, schedule number, and -- course name of......
Oct 06, 2009 at 4:02:03PM
$15.00 Computer-Science Java1 java program
...= "y";        System.out.println("Welcome to the Admissions Department.");        while (ans.equalsIgnoreCase("y"))        {                try                {                    System.out.println("......
Oct 05, 2009 at 3:17:12PM
$3.00 Computer-Science C++ Simple Program 01 c++ program
...    cout         cin >> hour;         cout         cin >> minute;         cout         cin >> inc;         if ((hour > hour_max) || (hour minute_max) || (minute         {             cout         }  ......
Oct 01, 2009 at 5:02:17PM
$4.00 Computer-Science Simple Java number sorter, easy check and explination Java program
...et middle (3) Need print out...
Sep 25, 2009 at 11:12:41PM
$15.00 Computer-Science inheritance java prorgam
...redReader(new InputStreamReader(System.in));             xcoord1 = Double.parseDouble(br.readLine());             System.out.print("Enter y coordinate for second circle: ");             br = new......
Sep 25, 2009 at 10:24:13PM
$10.00 Computer-Science Programming Java program
...tStreamReader; import java.io.IOException; public class TestCat {   public static void main(String args[])    {        cat listCat[] = new cat [3]; // array of 3 cats        BufferedReader br =......
Sep. 24, 2009 at 12:01:24AM
$1.00 Computer-Science write the names and symbols of the two e name and symbols for 2 e
...            Mg,Fe, Ca, Na, Al, Si,O             pyroxenes                 Al,Si,O, Fe, Mg, Ca, Na        ...
Sep 20, 2009 at 10:37:37PM
$1.00 Computer-Science Simple Java Java program
...if (x1 > x2)          max = x1;        else          max = x2;...
Sep 20, 2009 at 10:27:52PM
$1.00 Computer-Science . Write a C++ program to find the perim c++ prorgam
...= len * width; // calcualte area    perm = 2 * (len + widt...
Sep 20, 2009 at 10:20:30PM
$6.00 Computer-Science Intro to Programming Java program
...on; public class phoneList {   // This method is used to print out the result    public static void printResult(String str)    {        String[]     st   = null;     // split the string based on......
Sep 20, 2009 at 6:37:34PM
$1.00 Computer-Science C Programming c programming
...e} paint; D) a and c The correct answer is B #include enum ...
Sep 16, 2009 at 2:44:59PM
$1.00 Computer-Science C Programming "C Programming"
... message is issued. D) An EOF value is returned. The answer is b. The code is normally lik...
Sep 16, 2009 at 2:39:29PM
$1.00 Computer-Science C Programming "C Programming"
...; but float expressions can suffer round-off error B) float expressions are always...
Sep 16, 2009 at 2:33:29PM
$1.00 Computer-Science I.T.P simple c++ program
...enter the price of the item(s)" << endl;<br> cin >> price; // get user input<br> // asking user to input quantity<br> cout << "Please enter number of qu...
Aug 15, 2009 at 9:17:14PM
$1.00 Computer-Science Hi, I am new to c++ programming. file app for c++
... can be write<br> {<br> while (!file.eof()) // read the file until the end<br> {<br> getline (file,line); // get each line in the file<br> pos = line.find (&qu......
Jul 31, 2009 at 11:50:19PM
$10.00 Computer-Science Write an application that inputs ten num NumberApplication
...0; i <= curr_pos; i++)<br> {<br> if (numbers[i] == userNum)<br> val = 1;<br> }<br><br> return val;<br> }<br><br> public int getLastUniq......
Jul 30, 2009 at 5:34:19PM
$8.00 Computer-Science Database help PHP app
...nd the other one is for outer if state...
Jul 30, 2009 at 12:55:57PM
$1.00 Computer-Science Mortgage Payment Calculator mortgage calculator
...t, amt, i, pay, factor;<br> int freq;<br><br> while (toupper(ans) == 'Y')<br> {<br> cout << "Please enter payment amount: " << endl;<......
Jul 27, 2009 at 2:55:41PM
$5.00 Computer-Science OOP Java OOP Java
...fer (str);<br> str1.reverse();<br><br> return str1.toString();<br> }<br> public static void main(String args[])<br> {<br> String......
Jul 26, 2009 at 4:39:21PM
$1.00 Computer-Science MST-Kruskal MST algorithm
...increase weight one...
Jul 22, 2009 at 3:27:12PM
$5.00 Computer-Science PHP Script Errors Corrected PHP script
...ced. In addition, the...
Jul 21, 2009 at 12:41:01PM
$10.00 Computer-Science Help Please 4 reverse line java program
...<br> // create files to write to<br> file = new File("Outfile.txt");<br> // open files to write<br> out = new BufferedWriter(new FileWriter(file, true));<b......
Jul 20, 2009 at 2:04:39PM
$10.00 Computer-Science Develop an application that reads product id, product name and product price from an input text file. java app tp read product
...I/O, meaning that it uses an internal stor...
Jul 19, 2009 at 3:03:55PM
$1.00 Computer-Science C++ STL C++ STL functions
...ass two <br>parameters: the address of the first element to sort, and the address of one past <br>the last element to sort. The address is used for iterating across array elements <br&g......
Jul 18, 2009 at 10:18:50PM
$5.00 Computer-Science C++ program help working C++ code
...braces and you d...
Jul 18, 2009 at 4:18:38PM
$13.00 Computer-Science java help home work java help home work
...tream fstream;<br> DataInputStream in;<br> BufferedReader br;<br> File file;<br> Writer out;<br><br><br> try<br> {<br> ......
Jul 18, 2009 at 3:13:28PM
$15.00 Computer-Science Web Design Answers for this practice
...a Web designer should acquire.<br><br>_____ a. Raw-coding<br><br>_____ b. C+ programming<br><br>__X___ c. Search engine design<br><br>_____ d. Hard-codi......
Jul 17, 2009 at 10:44:27PM
$1.00 Computer-Science C++ easy4 bubble sort for C++
...lize array<br> for (i = 0; i < 30; i++)<br> list[i] = "";<br><br> // if file does not exist<br> if (!file.is_open())<br> {<br> ......
Jul. 16, 2009 at 12:03:33AM
$5.00 Computer-Science PHP Script PHP Script
...d correctly. It will be better if you indent ...
Jul 15, 2009 at 2:59:05PM
$15.00 Computer-Science Stock Stock
...)<br> Me.ShowStock.Name = "ShowStock"<br> Me.ShowStock.Size = New System.Drawing.Size(120, 32)<br> Me.ShowStock.TabIndex = 11<br> Me.ShowS......
Jul 13, 2009 at 10:00:39PM
$2.00 Computer-Science DESIGN AN IF -THEN STATEMENT (OR A FLOWC DESIGN AN IF -THEN STATEMENT
...hen variable is greater than 100<br>{<br> y = 20;<br> ...
Jul 09, 2009 at 5:03:56PM
$15.00 Computer-Science java help homework java help homework
...amReader;<br>import java.io.FileOutputStream;<br>import java.io.PrintStream;<br><br>public class writeFile<br>{<br> public static void main(String[] args)<br&......
Jul 08, 2009 at 10:39:57PM
$30.00 Computer-Science Java - gather user input and write to a text file Java App read/write File
...feredReader;<br>import java.io.IOException;<br>import java.io.InputStreamReader;<br>import java.io.FileOutputStream;<br>import java.io.PrintStream;<br><br>public......
Jul 06, 2009 at 4:46:51PM
$15.00 Computer-Science Help Please 2 Java read file app
...nputStreamReader(System.in);<br> br = new BufferedReader(isr);<br><br> try<br> {<br> filename = br.readLine();<br> }<br> catch (IOException e)&l......
Jul 06, 2009 at 4:44:11PM
$10.00 Computer-Science Help Please Java write file
... Product name Product price, or enter q to quit");<br> isr = new InputStreamReader(System.in);<br> br = new BufferedReader(isr);<br><br> try<br> {<br> fo......
Jul 06, 2009 at 4:38:14PM
$5.00 Computer-Science Help me with this C++ problem. only use C++ problem
...<br><br> t = int(365.25 * y);<br> return t;<br>}<br><br>int returnRes3 (int m)<br>{<br> int t;<br><br> t = int(30.6001 * (m + 1));<br&......
Jul 06, 2009 at 1:14:24PM
$5.00 Computer-Science Needing help with a Microsoft Access database Microsoft Access database
...ow is identified by a unique identifier (primary key). This fits the description of first normal form. However, the database does not ad...
Jul 03, 2009 at 1:06:09PM
$3.00 Computer-Science C++ (12 #11) C++ Using FLOW class
... << " D = " << D << " L = " << L << endl;<br> cout << " H = " << H << " K = " << k << endl;<......
Jun 28, 2009 at 8:07:54PM
$3.00 Computer-Science C++ using Heater class assn 12 #12 C++ using HEATER class
...eclare input string stream<br> istringstream vStr;<br><br> // specify string to read<br> vStr.str(inStr);<br><br> // read the value to the string<br> vStr......
Jun 27, 2009 at 9:39:43PM
$1.00 Computer-Science "Need help with Java Homework" Need help with Java Homework
...ic void main(String args[])<br> {<br> int num1, tmp;<br><br> if (args.length < 2)<br> {...
Jun 23, 2009 at 3:23:03PM
$1.00 Computer-Science C++ using char arrays (11 #12) C++ using char arrays
...tream::in);<br> counter = 0;<br><br> if (!file.is_open())<br> {<br> cerr << "Oops. Could not open file." << endl;<br> return -1;<......
Jun 21, 2009 at 11:02:36PM
$1.00 Computer-Science C++ using arrays In C++ using arrays
... pos1, pos2, check, rPos;<br> double size, diameter, length, weight;<br> string str;<br><br> cout << "\\tSize\\tDiameter(in)\\tLength(ft)\\tWeight(lb)\\n";<......
Jun 17, 2009 at 12:00:23PM
$1.00 Computer-Science C++#8 C++
...mespace std;<br><br>int main()<br>{<br> char ans;<br> int pts, curPts;<br> const int full = 100;<br> int dice1, dice2, sum;<br><br> ......
Jun 10, 2009 at 11:56:42PM
$1.00 Computer-Science C++ help2 recursion tutorial
...> int sum;<br><br> if (i == 0)<br> {<br> return 1;<br> }<br> else<br> {<br><br> return (i * f...
Jun 09, 2009 at 2:31:43PM
$5.00 Computer-Science java payroll program help compiled and working version
...d and...
Jun 04, 2009 at 1:49:22PM
$5.00 Computer-Science C++ programming assignment C++ programming assignment
...ut << "Please enter number to buy\\n";<br> cin >> amt;<br><br> if (choice == 1)<br> {<br> itemCost = 1.67 * amt;<br> total = total +......
May 28, 2009 at 1:38:58PM
$1.00 Computer-Science C++ if C++ if
...<br><br>// here is the program <br>#include<iostream><br>using namespace std;<br>int ...
May 28, 2009 at 1:25:26PM
$15.00 Computer-Science SQL Server Database SQL Server Databse
... Employee<br>(<br> Employee varchar(20),<br> Emp_ID int IDENTITY(1,1) primary key, <br> Last_name varchar(50),<br> First_name ...
May 23, 2009 at 8:36:28PM
$0.50 Mathematics 7(5x-2)=6(6-1) answer
...re are 2 scenario<br><br>(1) 7(5x-2)= 6(6x-1)<br>(2) 35x - ...
May 20, 2009 at 3:56:15PM
$0.50 Mathematics 27x + 9 = 13x + 51 answer
...13x = 51 - 9<br>(3) 14...
May 20, 2009 at 3:51:25PM
$20.00 Computer-Science Pl/SQL peoject Pl/SQL peoject possible tutorial
..., v_count;<br> EXIT WHEN rental_cur%NOTFOUND;<br> v_renttyp...
May 18, 2009 at 12:01:14PM
   
Join Now or Log In
Get Tutoring
Get Paid
Academic Honesty