hi!guys i am very glade to told you that you guys must learn java programing language because i think aproximate one billion devices are running java...so first of all i recommeded you that you guys get the "The complete Java reference book 2"it is the best book for you guys believe me and if you guys take some interest in java you have a greate future .. thanks you guys ask me questions or whatever i help you thanks..............

Member Avatar
Member Avatar
-3 forum 7

any one help me???????????????????????????????? how to convert text file to kml file using java???

Member Avatar
Member Avatar
+0 forum 1

Roots of quadratic equcation #include<iostream.h> #include<conio.h> #include<math.h> void main() { float a,b,c,disc,root1,root2; cout<<"enter a"<<endl; cin>>a; cout<<"enter b"<<endl; cin>>b; cout<<"enter c"<<endl; cin>>c; disc=(b*b)-(4*a*c); root1=(-b+sqrt(disc))/(2*a); root2=(-b-sqrt(disc))/(2*a); cout<<"root1"<<root1<<endl; cout<<"root2"<<root2<<endl; getch(); } any question or assignment ask to me!guys

Member Avatar
Member Avatar
+0 forum 8

Hi I am new to programing and I want to learn some basic tings. I also want to learn to create basic games. Could anyone reccomend a good book or websiteto get me started? Thanks, Robbie

Member Avatar
Member Avatar
+1 forum 2

am frederick sekyi and am new to this website.can any of you help me with computer programing?

Member Avatar
Member Avatar
+0 forum 2

i have to create a calculator (i'm a 12 year old) for the science fair. on textwrangler when i try to compile it :Expected end of line, etc. but found identifier. here is my code: import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.util.*; public class JavaCalculator extends JFrame { private JButton jbtNum1; private JButton jbtNum2; private JButton jbtNum3; private JButton jbtNum4; private JButton jbtNum5; private JButton jbtNum6; private JButton jbtNum7; private JButton jbtNum8; private JButton jbtNum9; private JButton jbtNum0; private JButton jbtEqual; private JButton jbtAdd; private JButton jbtSubtract; private JButton jbtMultiply; private JButton jbtDivide; private JButton jbtSolve; private JButton jbtClear; …

Member Avatar
Member Avatar
+0 forum 2

I want to buy a graphic card for my pc but I dont know what model is adapt with my system. please guide me

Member Avatar
Member Avatar
+0 forum 3

A company transmits data over the telephone, but it's concerned that its phones could be tapped. All its data is transmitted as four-digit integers. The company has asked you to write an application that encrypts its data so that it may be transferred more securely. Encryption is the process of transforming data for security reasons. Your application should read digits entered by the user and encrypt the information. Assume that the user inputs a single digit in each textbox. Use the following technique to encrypt the number: A) Replace each digit by (the sum of that digit and 7) Mod …

Member Avatar
+0 forum 0

I need my overall data to all be output as double, but my counter is an int, and i imagine you cant use a double as a counter, so when it goes to compute my data, theres a mismatch between my counter and the rest . i need a way of converting my data to double for out put. Here's my code....i have a test also, all it does is call the main method. public class Salary { public void calcSalary() { int wages[]={50000,40000,30000,20000,10000,60000,35000,46000,23000,19000}; final int TOTAL_LENGTH=10; //declare constant int total[]=new int[TOTAL_LENGTH]; int bonus; int counter; System.out.printf("\n%s\t%11s\n\n","REP","SALARY"); for (counter=0; counter …

Member Avatar
Member Avatar
+0 forum 3

Hi i have the following code. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim con As New OleDbConnection Dim da As New OleDbDataAdapter Dim ds As New DataSet Dim dsnewrow As DataRow Dim cb As New OleDbCommandBuilder(da) Dim a As String con.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=F:\DB.mdb;Jet OLEDB:Database Password=123" con.Open() a = "select * from Login" da = New OleDbDataAdapter(a, con) da.Fill(ds, "Login1") dsnewrow = ds.Tables("Login1").NewRow() ds.Tables("Login1").Rows.Add(dsnewrow) dsnewrow.Item("Lid") = "test" dsnewrow.Item("Name") = Uname2.Text.ToString() dsnewrow.Item("Lps") = psw1.Text.ToString() dsnewrow.Item("Acces1") = Acs.Text.ToString() dsnewrow.Item("Date1") = DTp1.Value.ToString() [COLOR="Red"]da.Update(ds, "Login1")[/COLOR] Uname2.Text = "" psw1.Text = "" Acs.Text = "" DTp1.Value = Today() con.Close() …

Member Avatar
Member Avatar
+0 forum 4

How would you write this program in Python IDLE? Write a program with a function that accepts a string as an argument and returns (some type of return value) a copy of the string with the first character of each sentence capitalized. For instance, if the argument is "hello. my name is Joe. what is your name?" the function should return a string "Hello. My name is Joe. What is your name?" The program should let the user enter a string and then pass it to the function. The modified string should be displayed. I need help writing this program! …

Member Avatar
Member Avatar
+0 forum 3

Hello All, I'm working on my first Python plot in my programming class this week. My assignment is to write a program to plot data contained in a csv format. Here is the data: "Bowl number", "Date", "Bowl location", "Winner", "Number wings eaten" "I", "1/29/1993", "Wyndham Franklin Plaza Hotel", "Carmen ’The Beast From the East’ Cordero", 100 "II","1/28/1994", "The Main Event", "Kevin ’Heavy Keavy’ O"Donnell", 127 "III", "1/27/1995", "Club Egypt", "Kevin ’Heavy Keavy’ O"Donnell""", 133 "IV","1/26/1996","Electric Factory","Glen ’Fluffmaster’ Garrison", 155 "V", "1/24/1997", "Electric Factory", "Eric ’Gentleman E’ Behl", 120 "VI","1/23/1998","Spectrum","Mark ’Big Rig’ Vogeding", 164 "VII", "1/29/1999", "Spectrum", "Bill ’El Wingador’ …

Member Avatar
+0 forum 0

Well when I run my program the bar at the top says C:\programing\C++\Test\Test.exe (<<just an example) How do I change this? And how do I make the console window look more XPish (I heard it was called luna). Answer the title one first please. I wnt this too be all from a Console app no WinPrograming.

Member Avatar
Member Avatar
+0 forum 8

Ok, I have chosen my exact path in life and need to learn this: How would I program for Linux? I have only minute ammouts of windows programing so start from absalute basics (like after cout and cin and main() stuff, start at oh something like LinMain or whatever linux uses. I know I said I dont like linux but that is because I cant get it to work (wont post details) So anyone? Also if Linux wasn't programed in c or c++ or d, tell me so I can find the languige, also I consider windows programing and c++ …

Member Avatar
Member Avatar
+0 forum 3

with this codes i created rectangle image with a line inside that has to mimic a single clock. Dim MyGraphics As graphics=e.graphics my graphics.Draw Rectangle(pens.colour,x1,X2,y1,Y2):whereby x1=60,x2=70,y1=80,y2=90,and choosen colour my graphics.Draw line(pens.colour,x1,x2,y1,y2):whereby x1=60,x2=70,y1=100,y2=120,and also choosen colour. Now help me with ideas and solution here.the hand or line within the square has to rotate continually.now as a clue,as our lecture prescribed,under line,one group of X and Y axis has to remain constant or steady,while other y and x axis has to change now instead of using numbers we have to use variables eg lets say x1 which is 60 and y1 which …

Member Avatar
Member Avatar
+0 forum 1

Here is an arm assembly code for factorial function (along with the c code).i am a bit confused with the stmfd and ldmfd instructions.what are they exactly doing in this program? what does the exclamation mark do? why is label .L2 being loaded into r0? i kno that stmfd and ldmfd are used to store and load multiple registers in full descending mode but what are they doing with fp,ip,lr,pc in this code? [CODE] .file "factorial.c" .text .align 2 .global factorial .type factorial, %function factorial: @ args = 0, pretend = 0, frame = 8 @ frame_needed = 1, uses_anonymous_args …

Member Avatar
Member Avatar
+0 forum 2

Just wanna say hello! I'm a student who loves programing, develop simple/complex apps it's my life. I'm not here to ask you to do my homework at all, i'm a dedicated programmer who knows ask for help when is really needed, i like to learn on my own. Althought i'll try to help in the forum too. Greetings.

Member Avatar
Member Avatar
+0 forum 5

After reading PDF file format specification manual and several other websites providing considerable amount of theories on this subject, I built one simple pdf file. An empty blank page, pretty much doing nothing else. But my problem is, When I am trying to close it, Adobe Reader prompts a dialog for saving any changes. Its only happening with simple pdf files without any encoding/encryption. For instance the following code, """ %PDF-1.4 %âãÏÓ 1 0 obj <</Type /Catalog /Pages 2 0 R>> endobj 2 0 obj <</Type /Pages /Kids [3 0 R] /Count 1>> endobj 3 0 obj <</Type /Page /Parent …

Member Avatar
Member Avatar
+0 forum 1

Google Go? Is it part of google, I don't know. Another programming language. Was YouTubing yesterday...Looks interesting. [url]http://www.youtube.com/watch?v=jgVhBThJdXc[/url]

Member Avatar
Member Avatar
+0 forum 6

how to implement the game called entanglement in java ??

Member Avatar
Member Avatar
+0 forum 8

Write a program that allows the user to enter a series of positive integers one at a time and in increasing order (using -1 as a sentinel value), and then computes and displays the median value of the data entered, as well as the number of data values entered. You’ll find that to compute the median, you’ll need to store the input values in an array. A sample run should look like: Enter positive integers one at a time increasing order. Enter -1 to indicate when you are done. Number? -2 Numbers must be positive. Redo that last one. Number? …

Member Avatar
Member Avatar
+0 forum 9

How would I make this program that it tells me the number of odds or evens. I only have 1 number at the time, so I need it to either say 1 odd or 1 even. [CODE]#include <iostream> #include <fstream> using namespace std; void printInfo(); int nonNegative(int a, int k); int nexta(int a); void initialize(int& oddCount , int& evenCount); void getx(int& a); int main() { int count; int num; int zeros; int odds; int evens; int a, k; k = 0; char choice = 'Y'; ofstream outFile; //---------------------------------------- // Call function tagReader with tags1.txt outFile.open("Langlands.txt"); outFile.close(); printInfo(); nonNegative(a, k); initialize(odds, …

Member Avatar
Member Avatar
+0 forum 1

I do not know how to write a function for this. I have written just the base line of the code, but I do not know how to finish it. Here is the description. A void Function tagReader inputs the data collected by the cylinders; it has two parameters: the input file and an int count. The function inputs names, serial numbers, and location coordinates from the input file. The input file will have a descriptive name, an integer serial number and two double values representing map coordinates separated by blanks on each line. For each cylinder, echo print to …

Member Avatar
Member Avatar
+0 forum 10

I need help with this program. I do not know how I would calculate to find out the gallons as well as the cost as pictured in my output. How would you do this? Here is my output: For each student, you will get the gallon of paint Input the length: 5 Input the width: 4 Input the cost of a gallon: $5.50 It will take 0 gallon(s) to paint an area of 5 square feet at a total cost of $0.00. Press any key to continue . . . [ICODE]#include <iostream> #include <iomanip> #include <string> using namespace std ; …

Member Avatar
Member Avatar
+0 forum 11

After your program works correctly for one student, add a loop so the user can process any number of students. Prompt the user for the number of students to process; use that value to control the loop. *How do I prompt the user for the number of students to process and use that value to control the loop. [ICODE] #include<iostream> #include <string> #include <cmath> using namespace std ; string getName (); int averageScores( int); void printMessage (string, int); void tallyScores ( int,int&,int&,int&); int main() { const int NUMBER = 4; // number of scores for each student char moreStudents = …

Member Avatar
Member Avatar
+1 forum 9

Hey guys, so I have a bit of a problem. I have an idea for a game, and I have all the 3d models and such, but I have no clue how to program. I hired a couple of guys to work for me, but here's the thing. I have no CLUE about anything regarding coding. What do I have to tell them to code? Like, do I give them my story, characters and stuff? Or do I have to do something else? I know it sounds dumb, but what do I give them to work with? If anyone could …

Member Avatar
Member Avatar
+0 forum 4

I really need help in writing this program for homework. 1. Round the average for each student to the nearest integer. 2. Add code to print out an appropriate message for each student. (given in prologue comments) 3. Add code to calculate the highest student average, and the lowest student average. 4. Add code to determine the number of students in each message category.. 5. At the conclusion of the while (inData) loop, print out the number of students processed, the highest student average, the lowest student average, and the number of students in each message category. This is what …

Member Avatar
Member Avatar
+0 forum 1

Could you please tell me how to arrange my code so that the invalid statement like in my displayed output will only show up if some enters a wrong character. Here is my code: #include <iostream> #include <fstream> #include <iomanip> #include <cmath> using namespace std; int main() { //(1) Declare some variables to work with char fare; char choice='Y'; int hrIn, minIn, hrOut, minOut; int hours; int minutes; int total_minutes; int additionalTime; double cost; double charge; while(choice=='Y'||choice=='y'){ //(2) Output read info and user message cout << "\nThis program will calculate a single, couple, or group " << "\nfare amount which …

Member Avatar
Member Avatar
-1 forum 1

Hi. I'm doing bachelor of IT and this is my third year. I intended to become a programmer when I graduate. How many programming language I need to know to be a programmer? How do I know if my programming skills is adequate/competent?

Member Avatar
Member Avatar
+0 forum 5

Here is my code: #include <fstream> #include <iomanip> #include <cmath> using namespace std; int main() { char fare; char choice='Y'; int hrIn, minIn, hrOut, minOut; int hours; int minutes; int total_minutes; double cost; float charge; float additionalTime; while(choice=='Y'||choice=='y') { cout << "\nThis program will calculate a single, couple, or group " << "\nfare amount which is then owed by the customer for the trip.\n" << "\nTo calculate a single fare amount, input S (or s)" << "\nTo calculate a couple fare amount, input C (or c)" << "\nTo calculate a group fare amount, input G (or g)" << " \n\nInput …

Member Avatar
Member Avatar
+0 forum 2

The End.