TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
y s
NA
2.6k
26.3k
need help in calculation C#
Apr 9 2011 1:49 AM
i have a problem to do calculation part.
i need to do 3 calculation part.
Now my problem is , my answer for conf and lift loop many times.
may i know how to correct it?
below are my coding:
string b = txtTotalItems.Text;
double e = Double.Parse(b);
double a;
double conf;
double lift;
richTextBox8.Clear();
foreach (double SuppB in list10)
{
richTextBox7.Clear();
foreach (double SuppA in list9)
{
richTextBox9.Clear();
foreach (double wee in list8)
{
a= (wee / e) * 100;
richTextBox9.AppendText(string.Format("{0:n2}", a) + "\n");
conf = a/ (SuppA / e);
richTextBox7.AppendText(string.Format("{0:n2}", conf) + "\n");
lift = conf / (SuppB / e) / 100;
richTextBox8.AppendText(string.Format("{0:n2}", lift) + "\n");
}
}
}
hope anyone can help me..
Reply
Answers (
10
)
cpu utilization bar
How To add the minimum support..