SlideShare uma empresa Scribd logo
Bài 4.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WebApplication5
{
public partial class _Default : Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
double T = double.Parse(txtt.Text);
double N = double.Parse(txtn.Text);
double h = double.Parse(txth.Text);
for (int i = 0; i < N; i++)
{
T += T / 100 * h;
}
txtketqua.Text = T.ToString();
}
}
}
Bài 5.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WebApplication6
{
public partial class _Default : Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
double n = double.Parse(txtn.Text);
double m = double.Parse(txtm.Text);
double h = double.Parse(txth.Text);
double kq = 0.0;
while (n < m)
{
n = n + (n / 100 * h);
kq++;
}
txtketqua.Text = kq.ToString();
}
}
}
Bài 6.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WebApplication7
{
public partial class _Default : Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
double n = double.Parse(txtn.Text);
double h = double.Parse(txth.Text);
double x = double.Parse(txtx.Text);
double kq = 0;
for (int i = (int)x; i < 60; i++)
{
kq += n;
n += n / 100 * h;
}
txtkq.Text = kq.ToString();
}
}
}
Bài 7.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WebApplication8
{
public partial class _Default : Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
double a = double.Parse(txta.Text);
double r = double.Parse(txtr.Text);
double n = double.Parse(txtn.Text);
for (int i = 0; i < n; i++)
{
a += a / 100 * r;
}
txtkq.Text = a.ToString();
}
}
}

Mais conteúdo relacionado

Semelhante a ASP.NET.docx

Java concurrency
Java concurrencyJava concurrency
Java concurrency
ducquoc_vn
 
I can not get my code to comply it gets mad that I have run declare mo.docx
I can not get my code to comply it gets mad that I have run declare mo.docxI can not get my code to comply it gets mad that I have run declare mo.docx
I can not get my code to comply it gets mad that I have run declare mo.docx
hamblymarta
 
Exercises
ExercisesExercises
Exercises
maamir farooq
 
C++ Windows Forms L06 - Utlitity and Strings
C++ Windows Forms L06 - Utlitity and StringsC++ Windows Forms L06 - Utlitity and Strings
C++ Windows Forms L06 - Utlitity and Strings
Mohammad Shaker
 
delegates
delegatesdelegates
delegates
Owais Masood
 
default.aspx.csusing System; using System.Collections.Generic;.pdf
default.aspx.csusing System; using System.Collections.Generic;.pdfdefault.aspx.csusing System; using System.Collections.Generic;.pdf
default.aspx.csusing System; using System.Collections.Generic;.pdf
aparnaagenciestvm
 
This is a java lab assignment. I have added the first part java re.pdf
This is a java lab assignment. I have added the first part java re.pdfThis is a java lab assignment. I have added the first part java re.pdf
This is a java lab assignment. I have added the first part java re.pdf
feetshoemart
 
Complete the classes shown below 1. The MinHeap Class Write necessa.pdf
Complete the classes shown below 1. The MinHeap Class Write necessa.pdfComplete the classes shown below 1. The MinHeap Class Write necessa.pdf
Complete the classes shown below 1. The MinHeap Class Write necessa.pdf
americanopticalscbe
 
In the class we extensively discussed a generic singly linked list i.pdf
In the class we extensively discussed a generic singly linked list i.pdfIn the class we extensively discussed a generic singly linked list i.pdf
In the class we extensively discussed a generic singly linked list i.pdf
birajdar2
 
srgoc
srgocsrgoc
Create a C# console application for this question.You modified class.pdf
Create a C# console application for this question.You modified class.pdfCreate a C# console application for this question.You modified class.pdf
Create a C# console application for this question.You modified class.pdf
jacquelynjessicap166
 
project2.classpathproject2.project project2 .docx
project2.classpathproject2.project  project2 .docxproject2.classpathproject2.project  project2 .docx
project2.classpathproject2.project project2 .docx
briancrawford30935
 
Heap
HeapHeap
TYPO3 6.2 for extension developer
TYPO3 6.2 for extension developerTYPO3 6.2 for extension developer
TYPO3 6.2 for extension developer
Nicole Cordes
 
3 j unit
3 j unit3 j unit
3 j unit
kishoregali
 
Ecet 370 Education Organization -- snaptutorial.com
Ecet 370   Education Organization -- snaptutorial.comEcet 370   Education Organization -- snaptutorial.com
Ecet 370 Education Organization -- snaptutorial.com
DavisMurphyB81
 
Pemrograman Python untuk Pemula
Pemrograman Python untuk PemulaPemrograman Python untuk Pemula
Pemrograman Python untuk Pemula
Oon Arfiandwi
 
Servlet session 9
Servlet   session 9Servlet   session 9
Servlet session 9
Anuj Singh Rajput
 
Parsing in ios to create an app
Parsing in ios to create an appParsing in ios to create an app
Parsing in ios to create an app
HeaderLabs .
 
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAMPROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
SaraswathiRamalingam
 

Semelhante a ASP.NET.docx (20)

Java concurrency
Java concurrencyJava concurrency
Java concurrency
 
I can not get my code to comply it gets mad that I have run declare mo.docx
I can not get my code to comply it gets mad that I have run declare mo.docxI can not get my code to comply it gets mad that I have run declare mo.docx
I can not get my code to comply it gets mad that I have run declare mo.docx
 
Exercises
ExercisesExercises
Exercises
 
C++ Windows Forms L06 - Utlitity and Strings
C++ Windows Forms L06 - Utlitity and StringsC++ Windows Forms L06 - Utlitity and Strings
C++ Windows Forms L06 - Utlitity and Strings
 
delegates
delegatesdelegates
delegates
 
default.aspx.csusing System; using System.Collections.Generic;.pdf
default.aspx.csusing System; using System.Collections.Generic;.pdfdefault.aspx.csusing System; using System.Collections.Generic;.pdf
default.aspx.csusing System; using System.Collections.Generic;.pdf
 
This is a java lab assignment. I have added the first part java re.pdf
This is a java lab assignment. I have added the first part java re.pdfThis is a java lab assignment. I have added the first part java re.pdf
This is a java lab assignment. I have added the first part java re.pdf
 
Complete the classes shown below 1. The MinHeap Class Write necessa.pdf
Complete the classes shown below 1. The MinHeap Class Write necessa.pdfComplete the classes shown below 1. The MinHeap Class Write necessa.pdf
Complete the classes shown below 1. The MinHeap Class Write necessa.pdf
 
In the class we extensively discussed a generic singly linked list i.pdf
In the class we extensively discussed a generic singly linked list i.pdfIn the class we extensively discussed a generic singly linked list i.pdf
In the class we extensively discussed a generic singly linked list i.pdf
 
srgoc
srgocsrgoc
srgoc
 
Create a C# console application for this question.You modified class.pdf
Create a C# console application for this question.You modified class.pdfCreate a C# console application for this question.You modified class.pdf
Create a C# console application for this question.You modified class.pdf
 
project2.classpathproject2.project project2 .docx
project2.classpathproject2.project  project2 .docxproject2.classpathproject2.project  project2 .docx
project2.classpathproject2.project project2 .docx
 
Heap
HeapHeap
Heap
 
TYPO3 6.2 for extension developer
TYPO3 6.2 for extension developerTYPO3 6.2 for extension developer
TYPO3 6.2 for extension developer
 
3 j unit
3 j unit3 j unit
3 j unit
 
Ecet 370 Education Organization -- snaptutorial.com
Ecet 370   Education Organization -- snaptutorial.comEcet 370   Education Organization -- snaptutorial.com
Ecet 370 Education Organization -- snaptutorial.com
 
Pemrograman Python untuk Pemula
Pemrograman Python untuk PemulaPemrograman Python untuk Pemula
Pemrograman Python untuk Pemula
 
Servlet session 9
Servlet   session 9Servlet   session 9
Servlet session 9
 
Parsing in ios to create an app
Parsing in ios to create an appParsing in ios to create an app
Parsing in ios to create an app
 
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAMPROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
 

Mais de Nguyễn Thu Hằng

Huong-dan-hoc-Excel.ppt
Huong-dan-hoc-Excel.pptHuong-dan-hoc-Excel.ppt
Huong-dan-hoc-Excel.ppt
Nguyễn Thu Hằng
 
Duoihinhbatchu 120811082150-phpapp02
Duoihinhbatchu 120811082150-phpapp02Duoihinhbatchu 120811082150-phpapp02
Duoihinhbatchu 120811082150-phpapp02
Nguyễn Thu Hằng
 
Vie ebi 2020 v2.5 final
Vie   ebi 2020 v2.5 finalVie   ebi 2020 v2.5 final
Vie ebi 2020 v2.5 final
Nguyễn Thu Hằng
 
Gt cac pptoankinhte - (huapro.vn)
Gt cac pptoankinhte - (huapro.vn)Gt cac pptoankinhte - (huapro.vn)
Gt cac pptoankinhte - (huapro.vn)
Nguyễn Thu Hằng
 
Baitapvaloigiaisql 130821085507-phpapp02
Baitapvaloigiaisql 130821085507-phpapp02Baitapvaloigiaisql 130821085507-phpapp02
Baitapvaloigiaisql 130821085507-phpapp02
Nguyễn Thu Hằng
 
Kiến trúc hướng dịch vụ (webservice)
Kiến trúc hướng dịch vụ (webservice)Kiến trúc hướng dịch vụ (webservice)
Kiến trúc hướng dịch vụ (webservice)
Nguyễn Thu Hằng
 
Ch3.mo hinhhoayeucau(1)
Ch3.mo hinhhoayeucau(1)Ch3.mo hinhhoayeucau(1)
Ch3.mo hinhhoayeucau(1)
Nguyễn Thu Hằng
 
Ch3.mo hinhhoayeucau(1)(1)
Ch3.mo hinhhoayeucau(1)(1)Ch3.mo hinhhoayeucau(1)(1)
Ch3.mo hinhhoayeucau(1)(1)
Nguyễn Thu Hằng
 

Mais de Nguyễn Thu Hằng (18)

Huong-dan-hoc-Excel.ppt
Huong-dan-hoc-Excel.pptHuong-dan-hoc-Excel.ppt
Huong-dan-hoc-Excel.ppt
 
Tranh to-mau-danh-cho-be
Tranh to-mau-danh-cho-beTranh to-mau-danh-cho-be
Tranh to-mau-danh-cho-be
 
Duoihinhbatchu 120811082150-phpapp02
Duoihinhbatchu 120811082150-phpapp02Duoihinhbatchu 120811082150-phpapp02
Duoihinhbatchu 120811082150-phpapp02
 
Vie ebi 2020 v2.5 final
Vie   ebi 2020 v2.5 finalVie   ebi 2020 v2.5 final
Vie ebi 2020 v2.5 final
 
Gt cac pptoankinhte - (huapro.vn)
Gt cac pptoankinhte - (huapro.vn)Gt cac pptoankinhte - (huapro.vn)
Gt cac pptoankinhte - (huapro.vn)
 
Baitapvaloigiaisql 130821085507-phpapp02
Baitapvaloigiaisql 130821085507-phpapp02Baitapvaloigiaisql 130821085507-phpapp02
Baitapvaloigiaisql 130821085507-phpapp02
 
3250
32503250
3250
 
Kiến trúc hướng dịch vụ (webservice)
Kiến trúc hướng dịch vụ (webservice)Kiến trúc hướng dịch vụ (webservice)
Kiến trúc hướng dịch vụ (webservice)
 
Lecture03
Lecture03Lecture03
Lecture03
 
Lecture02
Lecture02Lecture02
Lecture02
 
Lecture02(2)
Lecture02(2)Lecture02(2)
Lecture02(2)
 
Lecture02(1)
Lecture02(1)Lecture02(1)
Lecture02(1)
 
Lecture01
Lecture01Lecture01
Lecture01
 
Lecture03(1)
Lecture03(1)Lecture03(1)
Lecture03(1)
 
Ch4.phan tich(1)
Ch4.phan tich(1)Ch4.phan tich(1)
Ch4.phan tich(1)
 
Ch3.mo hinhhoayeucau(1)
Ch3.mo hinhhoayeucau(1)Ch3.mo hinhhoayeucau(1)
Ch3.mo hinhhoayeucau(1)
 
Ch3.mo hinhhoayeucau(1)(1)
Ch3.mo hinhhoayeucau(1)(1)Ch3.mo hinhhoayeucau(1)(1)
Ch3.mo hinhhoayeucau(1)(1)
 
Ch5.thiet kedulieu
Ch5.thiet kedulieuCh5.thiet kedulieu
Ch5.thiet kedulieu
 

Último

Analysis insight about a Flyball dog competition team's performance
Analysis insight about a Flyball dog competition team's performanceAnalysis insight about a Flyball dog competition team's performance
Analysis insight about a Flyball dog competition team's performance
roli9797
 
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
sameer shah
 
University of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma TranscriptUniversity of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma Transcript
soxrziqu
 
Challenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more importantChallenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more important
Sm321
 
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Aggregage
 
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
mkkikqvo
 
A presentation that explain the Power BI Licensing
A presentation that explain the Power BI LicensingA presentation that explain the Power BI Licensing
A presentation that explain the Power BI Licensing
AlessioFois2
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
aqzctr7x
 
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging DataPredictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
Kiwi Creative
 
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
xclpvhuk
 
The Ipsos - AI - Monitor 2024 Report.pdf
The  Ipsos - AI - Monitor 2024 Report.pdfThe  Ipsos - AI - Monitor 2024 Report.pdf
The Ipsos - AI - Monitor 2024 Report.pdf
Social Samosa
 
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdfUdemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Fernanda Palhano
 
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Kaxil Naik
 
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
apvysm8
 
Experts live - Improving user adoption with AI
Experts live - Improving user adoption with AIExperts live - Improving user adoption with AI
Experts live - Improving user adoption with AI
jitskeb
 
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
Social Samosa
 
DSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelinesDSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelines
Timothy Spann
 
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
ihavuls
 
Intelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicineIntelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicine
AndrzejJarynowski
 
"Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens"
"Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens""Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens"
"Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens"
sameer shah
 

Último (20)

Analysis insight about a Flyball dog competition team's performance
Analysis insight about a Flyball dog competition team's performanceAnalysis insight about a Flyball dog competition team's performance
Analysis insight about a Flyball dog competition team's performance
 
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
 
University of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma TranscriptUniversity of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma Transcript
 
Challenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more importantChallenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more important
 
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
 
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
 
A presentation that explain the Power BI Licensing
A presentation that explain the Power BI LicensingA presentation that explain the Power BI Licensing
A presentation that explain the Power BI Licensing
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
 
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging DataPredictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
 
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
 
The Ipsos - AI - Monitor 2024 Report.pdf
The  Ipsos - AI - Monitor 2024 Report.pdfThe  Ipsos - AI - Monitor 2024 Report.pdf
The Ipsos - AI - Monitor 2024 Report.pdf
 
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdfUdemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
 
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
 
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
 
Experts live - Improving user adoption with AI
Experts live - Improving user adoption with AIExperts live - Improving user adoption with AI
Experts live - Improving user adoption with AI
 
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
 
DSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelinesDSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelines
 
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
 
Intelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicineIntelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicine
 
"Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens"
"Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens""Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens"
"Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens"
 

ASP.NET.docx

  • 1. Bài 4. using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace WebApplication5 { public partial class _Default : Page { protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { double T = double.Parse(txtt.Text); double N = double.Parse(txtn.Text); double h = double.Parse(txth.Text); for (int i = 0; i < N; i++) { T += T / 100 * h; } txtketqua.Text = T.ToString(); } } }
  • 2. Bài 5. using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace WebApplication6 { public partial class _Default : Page { protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { double n = double.Parse(txtn.Text); double m = double.Parse(txtm.Text); double h = double.Parse(txth.Text); double kq = 0.0; while (n < m) { n = n + (n / 100 * h); kq++; }
  • 3. txtketqua.Text = kq.ToString(); } } } Bài 6. using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace WebApplication7 { public partial class _Default : Page { protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { double n = double.Parse(txtn.Text); double h = double.Parse(txth.Text); double x = double.Parse(txtx.Text); double kq = 0;
  • 4. for (int i = (int)x; i < 60; i++) { kq += n; n += n / 100 * h; } txtkq.Text = kq.ToString(); } } } Bài 7. using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace WebApplication8 { public partial class _Default : Page { protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) {
  • 5. double a = double.Parse(txta.Text); double r = double.Parse(txtr.Text); double n = double.Parse(txtn.Text); for (int i = 0; i < n; i++) { a += a / 100 * r; } txtkq.Text = a.ToString(); } } }