Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~569 People Reached
Favorite Tags
Member Avatar for nlanka

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; namespace Cities { class Hometown { public string City { get; set; } public string State { get; set; } public Hometown(string City, string State ) { this.City = City; this.State = State; } public Hometown() { } …

0
105
Member Avatar for nlanka

public class NaveenSingleton { private String name; private String [] names; private static NaveenSingleton uniqueInstance; private NaveenSingleton() { } public static NaveenSingleton getInstance() { if(uniqueInstance == null) { uniqueInstance = new NaveenSingleton(); } return uniqueInstance; } public void setName(String n) { name = n; //Search for duplicate name here, before …

Member Avatar for nlanka
0
178
Member Avatar for nlanka

I am having a problem with displaying statement remove or not removed if letter is r

Member Avatar for Taywin
0
80
Member Avatar for nlanka

[code]<html> <body> Enter your firstname <input type="text" fname="submit"> Enter your lastname <input type="text" lname="submit"> <html> <head> <script type="text/javascript"> if(submit(lname==null)) { alert(" be careful"); } </script> </head> <input type="submit" onclick="submit()" value="Submit" style="color:white; background-color:red;"> [/code] i need help with writing if loop for submit button an alert message that show we forgot …

Member Avatar for Taywin
0
102
Member Avatar for nlanka

public class Average { private double [] Score; int index; public Average(double [] s) { Score = new double[s.length]; for(index=0; index<s.length; index++) { if(Score[index]>100 && Score[index]<0) Score[index]=s[index]; } } public double getAverage() { double total=0.0; double average = 0.0; for(double value: Score) total+=value; average= Score.length/total; return average; } } the …

Member Avatar for javaAddict
0
103