67 Topics
| |
[CODE]$k2 = $subject_k2/40; $j2 = $subject_k2%40; if($j2 >= 15){ $k2 = $k2 + 1; }[/CODE] what is the time complexity of the above code? thank u! | |
Im having trouble with an assignment that I was given. here is the assignment and the code I have so far. The Telephone Lookup application The task The goal of this assignment is to design and write a program that does a telephone lookup. The program reads a data set … | |
Hey Gang; I'm new at this college thing, it's been a while. Need help trying to figure out why I am getting <identifier> errors. Here's my script. would sure appreciate any help you can give. Thanks ///////////////////////////////////////////////////////////////////////////////////// [code] import javax.swing.*; import java.awt.*; import java.awt.event.*; public class TicTacToe extends Frame { … | |
error C2297: '>>' : illegal, right operand has type 'void' error C2296: '>>' : illegal, left operand has type 'float' error C2297: '>>' : illegal, right operand has type 'void' warning C4552: '>>' : operator has no effect; expected operator with side-effect. i get these errors and i dont know … | |
I'm suppose to write a program that asks the user to enters numbers which will be stored in a dynamic array. Then once they enter their first set of numbers they are asked whether they would like to enter another number or remove a number from their list. You can … | |
i need to find all the files in the directory and sub directory that have a text file..within this text file there is a string called average with some value.. the code below works fine for a single directory...but i need to find the same text files in the sub … | |
[CODE]if(num/100>=1) { x=num/100; switch(x) { case 1: cout<<"one hundred "; break; case 2: cout<<"two hundred "; break; case 3: cout<<"three hundred "; break; case 4: cout<<"four hundred "; break; case 5: cout<<"five hundred "; break; case 6: cout<<"six hundred "; break; case 7: cout<<"seven hundred "; break; case 8: cout<<"eight … |
The End.