Member Avatar

<!doctype html> <html lang="en-US"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Empathy</title> <link href="template.css" rel="stylesheet" type="text/css"> </head> <body> <div class="container"> <header> <a href=""> <h4 class="logo"> <img src="page-1_2.png" width="113" height="28" alt=""/> </h4> </a> <nav> <ul> <li><a class="Abouth-Empath" href="empathy.html#about" >About Empath</a></li> <li><a class="How-It-Works" href="empathy.html#How">How It Works</a></li> <li> <a class="Contact" href="empathy.html#contact">Contact</a></li> </ul> </nav> </header> <section class="page1"> <h2 class="logo_header"> <img src="group.png" width="470" height="127" alt=""/></h2> </section> <section class="about" id="about" > <div class="left-side-sec"><blockquote> <h2 class="About-Empath"> About Empath <p class="aboutE"> Standard measurements — made for publishers, not brands — provide a singular view of performance. <p class="Empath-is-a-propriet">Empath is a proprietary tool that surveys audiences …

Member Avatar
+0 forum 1
Member Avatar

i need to get a out put of the array in my code that will display every time the counter counts and has to be linked to a random number. import flash.utils.Timer; var color: Array = ["red", "green", "blue", "yellow"]; var rand: Number; var counter = 0; var myTimer: Timer = new Timer(1000, 4); myTimer.addEventListener(TimerEvent.TIMER, startCount); myTimer.start(); function startCount(e: TimerEvent) { counter++; for (var i = 0; i < 1; i++) { var numbers = Math.floor(Math.random() * 4); rand = numbers; trace(rand); } counter++; for (var i = 0; i < 1; i++) { var numbers = Math.floor(Math.random() * 4); …

Member Avatar
+0 forum 1
Member Avatar

i am having a problem with java script and need to know how i can convert a integer inputted by the user to asterisks. stipulations i have to use a window prompt dialog box and print the asterisks on the page in a paragraph.. i just need help changing the int to the asterisks.

Member Avatar
+0 forum 2
Member Avatar

<a href="#"> Home </a> <a href="#"> Video1 </a> <a href="#"> Advanced Warfare </a> <a href="#"> Video 2 </a> </nav> those are the nav buttons i have and i want video 2 and advanced warfare to be active and click as to show images and a short video i have and i am new to html ..

Member Avatar
+0 forum 7
Member Avatar

import java.util.*; public class temp { public static void main (String[] args) { //Declear variables int LowT=0, HighT=0, high, low, RangeT=0, zip, k, d, i; double Avg, HighAvg=0, LowAvg=0, RangeAvg=0; //New Scanner Scanner input = new Scanner(System.in); //Informs user on what the program does System.out.println("This program calculates highest, lowest and average daily temperatures."); //Ask user for zip //array to get months String[] day= {"Monday", "Tuesday", "Wensday", "Thursady", "Friday", "Saturday", "Sunday"}; d=day.length; //Arrays for high low and ranges int[]highest = new int [d]; int[]lowest = new int [d]; int[]ranges = new int [d]; //Ask for highest and lowest temp for each …

Member Avatar
+0 forum 4
Member Avatar

//Trevor Potter // Nov. 11,2014 import java.util.*; public class student { public static void main (String [] args) { int[] student= new int [20]; int[] exam1= new int[20]; int[] exam2= new int[20]; int[] exam3= new int[20]; int[] avg= new int[20]; int i=0; Scanner input = new Scanner(System.in); for(i=0; i<=19; i++){ System.out.println(" Enter grade for student:" + student[i]+ "(exam1, exam2, exam3)"); exam1[i]=input.nextInt(); exam2[i]=input.nextInt(); exam3[i]=input.nextInt(); avg[i] = (exam1[i]+exam2[i]+exam3[i])/3; } System.out.println(" "); System.out.println("Student Exam1 Exam2 Exam3 Average"); for(i=0; i<=19; i++) { System.out.println(student[i]+" "+exam1[i]+" "+exam2[i]+" "+exam3[i]+" "+avg[i]); } }// end of class }// end of main

Member Avatar
+0 forum 3
Member Avatar

i need help trying to set a program that will have three arrays one for number of students anothe rfor 3 exams and final the average of all the grades can any one help

Member Avatar
-2 forum 7
Member Avatar

how can i get this program, to tally the number of grades above 90 , between 80 and 89 and etc import java.util.*; public class grades {import java.util.*; public class grades { public static void main(String[] args) { Scanner input = new Scanner(System.in); int i, n; double sum= 0, score=0 double avg System.out.println(" enter the number of students"); n=input.nextInt(); for(i=1; i<=n; i++){ System.out.print("enter an Exam score"); score= input.nextInt(); sum= sum + score;} avg=(double) sum / n; System.out.println("Average is: " + avg); } } public static void main(String[] args) { Scanner input = new Scanner(System.in); int i, n; double sum= 0, …

Member Avatar
+0 forum 2
Member Avatar

double hours=0, rate=0; double Federaltaxes, Ficataxes, Statetaxes; double netpay=0, grosspay=0, totaltaxes; if (hours <= 40){ System.out.println("how many hours did you work"); hours= input.nextDouble(); System.out.println("what is the rate you get paid"); rate= input.nextDouble(); grosspay= hours * rate; System.out.println("the gross pay is:" + grosspay); Federaltaxes= grosspay * .20; System.out.println("Federal taxes are:" + Federaltaxes); Ficataxes= grosspay * .10; System.out.println("Fica taxes are:" + Ficataxes); Statetaxes= grosspay * .05; System.out.println("State taxes are:" + Statetaxes); totaltaxes = Federaltaxes + Ficataxes + Statetaxes; System.out.println("total taxes paid are:" + totaltaxes ); netpay= grosspay - totaltaxes; System.out.println("net pay is:" + netpay); } else grosspay= (40*rate) + ((1.5*rate)*(hours-40));

Member Avatar
+0 forum 1

The End.