Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
~14.3K People Reached
Favorite Forums
Favorite Tags
java x 112
c++ x 61
c x 4
Member Avatar for programing

here code for make new file .. how i can make it to insert data to file and open it /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package files; import java.io.*; import java.util.Scanner; public class Files{ public static …

Member Avatar for NormR1
0
776
Member Avatar for programing

hi .. i make this code .. but when i run it ..doesn't show whole output in window ..and its not show correct answer .. i can't find error / but its not worked welll /* * To change this template, choose Tools | Templates * and open the template …

Member Avatar for NormR1
0
571
Member Avatar for programing

plz i have question that is statistical which is course that i still missed .. how i can make code for median , mean,strdDevition , mode else presented as class and object i will realy thanks for whom will help me ,,

Member Avatar for adityatandon
0
115
Member Avatar for programing

hi i need to help me to understand this code how its work and depend on what it determine how many time yopu should enter values [CODE]#include <stdio.h> #define SIZE 100 #define SENTINEL -99999 #define TRUE 1 #define FALSE 0 #define READ 10 #define WRITE 11 #define LOAD 20 #define …

Member Avatar for DJSAN10
0
216
Member Avatar for programing

in this code i have logical error its give me wrong output [CODE]import java.util.Scanner; public class OneFile { static final int MAX = 100; static final int READ = 10, WRITE = 11, LOAD = 20, STORE = 21; static final int ADD = 30, SUBTRACT = 31, MULTIPLY = …

Member Avatar for NormR1
0
175
Member Avatar for programing

hi i was writte program that implement one-d array user enter 10 element without any duplication it is give me all element its already exist [CODE]import java.util.Scanner; public class Duplicates { public static void main(String[] args) { Scanner input = new Scanner(System.in); int[] array = new int[10]; int[] copyarray = …

Member Avatar for stultuske
0
637
Member Avatar for programing

i made code that calculate fibonaci number (n) but how i can determine the largest fibonaci number [CODE] import java .util.Scanner; public class Fibo { public static long fib(int n) { if (n <= 1) return n; else return fib(n-1) + fib(n-2); } public static void main(String[] args) { Scanner …

Member Avatar for stultuske
0
595
Member Avatar for programing

hi can someone explain this small code how its work : [CODE]/** * @(#)Output.java * * * @author * @version 1.00 2011/12/24 */ public class Output { public static int rec(int x, int n) { if (n < 0) { System.out.println("Illegal argument"); System.exit(0); } if (n > 0) return ( …

Member Avatar for predator5047
0
130
Member Avatar for programing

my code should print numbers in reverse array its not have error but the lest for statement its not print array in reverse order [CODE] import java .util.Scanner; public class R { public static void main (String [] args){ Scanner input=new Scanner(System.in); int size; System.out.println("Size "); size=input.nextInt(); int [] array=new …

Member Avatar for NormR1
0
244
Member Avatar for programing

can help me in this code i made it to check if a given number is plindrom or not [CODE] import java .util.Scanner; public class PNumber { public static void main(String[] args) { System.out.println("Enter size "); Scanner input = new Scanner(System.in); int size = input.nextInt(); int [] array=new int [size]; …

Member Avatar for .:n'tQ-boy:.
0
194
Member Avatar for programing

plz i try to make factorial program but i have mistake [CODE] import java .util.Scanner; public class Factorialrec { int fact(int n) { int result; if ( n ==1) return 1; result = fact (n-1) * n; return result; } } public static void main(String [] args){ Scanner input = …

Member Avatar for programing
0
124
Member Avatar for programing

hi can i reset my password and user name for oracle 10g i lost all users and user default it can not log using system . sys or scott at moment plz how i can rest password i have to do project and i cant acess to sql plus

Member Avatar for baki100
0
64
Member Avatar for programing

the output of this program should return the number of letter in words [CODE]/** * @(#)Coun.java * * * @author * @version 1.00 2011/11/18 */ import java .util.Scanner; public class Coun { Scanner input=new Scanner(System.in); public static void main(String [] args) { System.out.println("Enter a string: "); String[] arr = input.nextInt(); …

Member Avatar for stevanity
0
136
Member Avatar for programing

hi I want to implement this program correctly about plindrom like ( ara) is plindrom i try to writed code for non-recursivly but i didn't understand method CharAt () IgnorCase() [CODE] import java.util.Scanner; public class Plindrom { public static void main (String[] args) { String str; int left, right; Scanner …

Member Avatar for stultuske
0
183
Member Avatar for programing

program enter element and if num is already exist give message enter other number no duplicate my code give me alwayes else condition [CODE]/** * @(#)Enter.java * * * @author * @version 1.00 2011/11/18 */ import java.util.Scanner; public class Enter { public static void main(String []args){ Scanner input=new Scanner(System.in); int …

Member Avatar for stevanity
0
86
Member Avatar for programing

[CODE]/** * @(#)TestClassOne.java * * * @aziza meshal * @version 1.00 2011/11/12 */ import java.util.Scanner; public class TestClassOne { public static void main(String [] args) { int size; Scanner input=new Scanner (System.in); System.out.println("plz enter size of array"); size =input.nextInt(); int [] a1 = new int [size]; ClassOne [] a2 = …

Member Avatar for programing
0
80
Member Avatar for programing

calculate value of PI from the infinite series Ï€ = 4-4/3+4/5-4/7+4/9-4/11 +..... write a class with two data members aproxivalue(double value ) and percision ( integer value ) where precion is the number of terms of the series used to compute the value of approxivalue : 1- default constructor permits …

Member Avatar for Taywin
0
1K
Member Avatar for programing

hi i write code that is mesure the area of traingle with two constructor ... with argument and default constructor and set ,, get , high and length ,, and tostring , equals methods but i think is there a logical error class file [CODE] public class Traingle { private …

Member Avatar for hiddepolen
0
132
Member Avatar for programing

write a class Circle with one double data radius . write motheds ::: public Circle(),public Circle (double),public Circle (Circle c) public double getRadius() public setRadius (double) public getPerometer(int)where the parameter indicates the number of terms for Ï€ public getArea (int) where the parameter indicates the number of term for Ï€ …

Member Avatar for hiddepolen
0
199
Member Avatar for programing

hi my program should implement queue using stack h make a code but i still have error if an one can tell me what is he error [CODE]#include<stdio.h> #include<conio.h> #include<process.h> int in_top=-1; int out_top=-1; void in_stack_push(int item); int in_stack_pop(); void out_stack_push(); int out_stack_pop(); int insert_queue[20],delete_queue[20]; void main() { int i,ch,item; …

Member Avatar for trin12345
0
175
Member Avatar for programing

hi i hope you to help me . my teacher in introduction to programming concept course ask me to make a small realy small compiler that i did not study before .. i don't have any idea about compiler never if you can give me tutorial about it ..plz i …

Member Avatar for rubberman
0
239
Member Avatar for programing

i am write a code to print element in stack in reverse order i need two stack to push from first and pop to other but i have something error .. [CODE]#include<iostream.h> #include<process.h> struct stack{ stack s1,s2; int info; }; class stacks { private: stack top; int x; public: s1.stack(){top=-1;} …

Member Avatar for raptr_dflo
0
227
Member Avatar for programing

waht the steps to make c++ compiler my compiler is to define - ,+ * / mathematical expresstion ? how i can make it plz :) i realy need help

Member Avatar for template<>
0
122
Member Avatar for programing

plz help me with code c++ for binary full adder that sum to binaryn like 1111 + 0110 [CODE]#include <iostream> using std::cout; using std::endl; const int LENGTH = 5; char sumChars(char x, char y, char& carry); int main() { char first[LENGTH + 1] = "10100";// 20 char second[LENGTH + 1] …

Member Avatar for Sky Diploma
0
3K
Member Avatar for programing
Member Avatar for Narue
0
148
Member Avatar for programing

plz how i can write a program to pop from one stack and save the value deleted to onther stack .. means .. pop the top from one stack and push the delete value to other stack ... :(

Member Avatar for TrustyTony
0
124
Member Avatar for programing

plz i cant't correct the errors .. can any one correct this [CODE] #include<iostream.h> #define size 100 struct stack { int item [size]; int top=0 ; }; class m{ bool isempty(stack s) { if (s.top==-1) return true ; else return false ;} bool isfull(stack s); } return (s.top==size-1);} int count …

Member Avatar for programing
0
135
Member Avatar for programing

what the wrong for this code : [CODE]if (head==NULL)//1 if the list is embty cout<<"NO element in linked list "; else if { if (head==tail){ ///2- if we have one node delete head ; } [/CODE] how i can write the other case if valid addrese if the addrese in …

Member Avatar for programing
0
115
Member Avatar for programing

i am write program that insert at tail in circular singlelinkedlist but i have some errors .. [ICODE]#include<iostream.h> struct node { int info ; node * next ; }; class clist{ private : node *tail; int size; public: clist(){ tail=NULL; size=0; void addtail(int x){ node *p=new node; p->info=x; if(tail==NULL) p->next=p; …

Member Avatar for programing
0
92
Member Avatar for programing

i make twwo single linkedlist,, but i didn't know how i can merge those lists ;; [ICODE]#include <iostream.h> class linklist { private: struct node { int data; node *link; } *p; public: linklist(); void append( int num ); void appendd(int size); void display(); }; linklist::linklist() { p=NULL; } void linklist::append(int …

Member Avatar for arjunpk
0
240