prj是什么意思,proj縮寫(xiě)是什么意思,proj的全稱(chēng)及含義,proj全稱(chēng)意思大全
proj縮寫(xiě)是什么意思
PROJ英文含義
1、PROJ的英文全稱(chēng):Projectada (Portuguese: project; postal usage) | 中文意思:───Projectada(葡萄牙語(yǔ):項目;郵政使用)
2、PROJ的英文全稱(chēng):project | 中文意思:───項目
3、PROJ的英文全稱(chēng):Projected | 中文意思:───預計的
4、PROJ的英文全稱(chēng):Projectile | 中文意思:───投射物
5、PROJ的英文全稱(chēng):Project | 中文意思:───工程;方案;計劃;生產(chǎn)(或研究等)項目
6、PROJ的英文全稱(chēng):Projectada (Portuguese: project; postal usage) | 中文意思:───Projectada(葡萄牙語(yǔ):項目;郵政使用)
7、PROJ的英文全稱(chēng):Project File (Interface Builder) (NeXT) | 中文意思:───項目文件(界面生成器)(NeXT)
8、PROJ的英文全稱(chēng):Projectile | 中文意思:───射彈;拋射體;火箭;拋體運動(dòng)
9、PROJ的英文全稱(chēng):Pediatric Rheumatology Online Journal | 中文意思:───在線(xiàn)兒童風(fēng)濕病學(xué)雜志
delphi程序中 .dproj文件標簽都是什么意思像這種
dproj文件:DELPHI project Group Manager Delphi項目工程組文件管理擴展名,其下可以包含多個(gè)Dpr工程文件。
dpr:Delphi Porject Delphi 單個(gè)項目工程文件擴展名(用于保存窗體,單元等信息,以及程序運行的初始化代碼)
編寫(xiě)一個(gè)控制臺應用程序項目Proj6-18用于求學(xué)生的GPA。GPA是英文平均分的簡(jiǎn)稱(chēng)。美國大學(xué)的GPA滿(mǎn)分是4分。
using System;
using System.Collections.Generic;
using System.Text;
namespace Proj6_18
{
class Student
{
int sno;
string sname;
Course[] course;
int[] score;
double sgpa1;
double sgpa2;
public int psno
{
get
{ return sno; }
set
{ sno = value; }
}
public string psname
{
get
{ return sname; }
set
{ sname = value; }
}
public void setcourse(params Course[] course1)
{
course = new Course[course1.Length];
for (int i = 0; i < course1.Length; i++)
course[i] = course1[i];
}
public void setscore(int[] score1)
{
score = new int[score1.Length];
for (int i = 0; i < score1.Length; i++)
score[i] = score1[i];
}
public void computegpa()
{
int i;
double s, sumc = 0, sumgpa1 = 0, sumgpa2 = 0;
for (i = 0; i < score.Length; i++)
{
if (score[i] >= 90)
s = 4.0;
else if (score[i] >= 80)
s = 3.0;
else if (score[i] >= 70)
s = 2.0;
else if (score[i] >= 60)
s = 1.0;
else
s = 0.0;
sumgpa1 += course[i].pcredits * s;
sumgpa2 += course[i].pcredits * score[i];
sumc += course[i].pcredits;
}
sgpa1 = sumgpa1 / sumc;
sgpa2 = sumgpa2 * 4 / sumc / 100;
}
public void dispstud() //輸出學(xué)生信息
{
Console.WriteLine("學(xué)號:{0}\t姓名:{1}", sno, sname);
Console.WriteLine(" 課程名\t學(xué)分\t分數");
for (int i = 0; i < course.Length; i++)
Console.WriteLine(" {0}\t{1}\t{2}", course[i].pcname, course[i].pcredits, score[i]);
}
public void dispgpa() //輸出GPA
{
Console.WriteLine("常見(jiàn)算法GPA={0:n},標準算法GPA={1:n}", sgpa1, sgpa2);
}
}
class Course
{
string cname;
int credits;
public Course() { }
public Course(string name, int xf)
{
cname = name;
credits = xf;
}
public string pcname
{
get
{ return cname; }
set
{ cname = value; }
}
public int pcredits
{
get
{ return credits; }
set
{ credits = value; }
}
}
class Program
{
static void Main(string[] args)
{
Course[] course1 = new Course[] {new Course("課程1",4),new Course("課程2",3),
new Course("課程3",2),new Course("課程4",6),new Course("課程5",3)};
int[] score1 = new int[] { 92, 80, 98, 70, 89 };
Student s1 = new Student();
s1.psno = 1; s1.psname = "王華";
s1.setcourse(course1);
s1.setscore(score1);
s1.computegpa();
s1.dispstud();
s1.dispgpa();
}
}
}
版權聲明: 本站僅提供信息存儲空間服務(wù),旨在傳遞更多信息,不擁有所有權,不承擔相關(guān)法律責任,不代表本網(wǎng)贊同其觀(guān)點(diǎn)和對其真實(shí)性負責。如因作品內容、版權和其它問(wèn)題需要同本網(wǎng)聯(lián)系的,請發(fā)送郵件至 舉報,一經(jīng)查實(shí),本站將立刻刪除。