Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Duaa-07
│▒│/▒/ │▒ /▒/─┬─┐ │▒│▒|▒│▒│ ┌┴─┴─┐-┘─┘ ●●PeAcE●● │▒┌──┘▒▒▒│ └┐▒▒▒▒▒▒┌┘ └┐▒▒▒▒┌┘
Java program Calculator,help Please!?
i'm trying to build a calculator with the basic operations ( +, -, * ,/) and the root square as well as the decimal point
but when clicking on the form on the root square or the decimal point they're still not working as if it's concatenating the numbers although i did parse them
and i'm trying to do any operation for more than just 2 inputs and something is still wrong it also seems that the numbers or actually certain numbers are being concatenated instead of applying the operation on
so can you please help me?
thanks !
here 's the code
1 AnswerProgramming & Design7 years agoA and B be subsets of the finite universal set U. Show that |A ∩ B| = |U| − |A| − |B| + |A ∩?
is it even correct?
1 AnswerMathematics8 years agoProbability question help?
In a high school graduating class of 100 students, 54 studied mathematics, 69 studied mechanics, and 35 studied both mathematics and mechanics. If one of these students is selected at random, find the probability that:
a. The students took mathematics or mechanics
b. The student did not take either of these subjects
c. The student took mechanics but not mathematics
i just need c ,but i'd like to make sure a and b are correct also
a-0.88
b-0.22
thanks
4 AnswersMathematics8 years agowhat's the best data recovery program from a formatted usb ? free one please =\?
and not limited to 1 gb if available
2 AnswersSoftware8 years agowhat's the best data recovery program from a formatted usb ? free one please =\?
and not limited to 1 gb if available
1 AnswerAdd-ons8 years agohow does "teaching kids how to code" benefit the kids and what ages do you think they should start?
like how simple should it be or would kids understand such ideas? whats the perfect age to teach them how to code or just the basics of coding
would you teach yours how to code? or would like him/her to show interest first?
4 AnswersProgramming & Design8 years agoObjective C and java ?which one is harder i already know C++ and C?
i want to learn both but which one should go first which is easier?and what are the programs that i need to download to start working on the codes using each?
4 AnswersProgramming & Design8 years agohow to compare the ids in an array to each other when the user is still entering the values of each ID[i]?
i have this code that creates a table and asks the user to enter the values of IDs and makes sure that the id is a number and breaks if the user inputs it 3 times not a number and prevents the user to input an id number that already exists
i only need some help on how to prevent the user all i got out with is just compering the ID[i] with one previous value and not all the previous values
<script>
var i;
var j;
var w;
var con=0;
var ID=new Array(5);
var grade;
var sum=0;
var names=new Array(5);
names[0]="Duaa";
names[1]="Chaza";
names[2]="Ola";
names[3]="Ghina";
names[4]="Hassan";
document.writeln("<table border='1'>");
for(i=0;i<names.length;i++)
{
con=0;
ID[i]=prompt("Enter The Id number of "+names[i],"ID number");
while(isNaN(ID[i])&&con<2)
{
con++;
ID[i]=prompt("Enter The Id number of "+names[i],"ID number");
}
/* This loop */
for(w=0;w<ID.length;w++)
{
if(ID[i]==ID[i-1])
{
window.alert("You Have Already Entered That Id Number!");
break;
}
}
if(con==2)
{
window.alert("You are a loser!");
break;
}
else
{
/*other details and stuff i'm already done with */
}
}
1 AnswerProgramming & Design9 years agoHow to print instead of \t the number of spaces that i determine *using files * in c?
using C,Converting each \t to a number of spaces ... Ex ,if my tabs.txt contains
This file has. too many. tabs. where each space above is actually a \t character, then the file myspaces.txt should look like the following if n=2, This. file has too many tabs. can my if statment be like if (c=='\t') then i d print a space ? i do have the code but its not runnging dunno why :-/
#include<stdio.h>
#include<stdlib.h>
int main()
{
char d;
FILE * fin = fopen("mytabs.txt", "r");
FILE * fout = fopen("myspaces.txt", "w");
int n;
printf("Enter n: ");
scanf("%d", &n);
while(fscanf(fin, "%c" ,&d)!=EOF)
{
if(d =='\t')
{
for(i=0;i<n;i++)
{
fprintf(fout , " ");
}
}
else {
fprintf(fout, "%c", d)
}
}
fclose(fin);
fclose(fout);
system("pause");
return 0;
}
1 AnswerProgramming & Design9 years agousing what softwares can i creating something such as this template and do you have any idea how?
or what are the steps that i should follow in-order to create something similar ?
http://templates.entheosweb.com/template_number/34... what flash builder ?? where to start etc??
and this
http://livedemo00.template-help.com/wt_37261/index... the wheel thing is java ? how to do it ? and link the photos to it ?
1 AnswerProgramming & Design9 years agofor any page i can get the html source but if its flash how can i get it?
and when its javascript it'd be hard it'd be hard to copy that , its just that i'm trying to build a website and I'm in-need for some templates
such as this
http://livedemo00.template-help.com/wt_37261/index...
,
http://templates.cms-guide.com/34615/admin/
and
http://livedemo00.template-help.com/wt_37255/index... this one seems the easiest if am not wrong
if i' can't be able to get these codes then how can i do something like them esp the first two any help? what do i need ?how to ..etc
1 AnswerProgramming & Design9 years agoideas on what my cv sections should be how can i make it more cool attractive i'm using html what features?
should i use ?, i'm trying my best to not use java and css but anyways what ideas so you think make a cv greater add colors video maybe ? since its a webpage
thank you:D
1 AnswerProgramming & Design9 years agohow to write the code for a program to enter 2/more variables & then show the truth table for them on Matlab?
Some Help /Instructions please !?
2 AnswersEngineering9 years agohow to write the code for a program to enter 2/more variables & then show the truth table for them on Matlab?
Some Help /Instructions please !?
1 AnswerProgramming & Design9 years agowhats the difference between c++ and c languages?
3 AnswersProgramming & Design9 years ago