
政府刊物是由负责编辑和发送或销售文本,图像,以及磁带,软件等通过各种渠道的政府机构打印。和政府颁布了一项法令,以反映他们的思想,意志,物质载体的行为,也是政府的思想,意志,行为各大媒体的社会影响。 政府及其所属机构公布的具有官方性质的文件。也被称为官方出版物。美国政府出版物没有统一的定义。大致可分为两类:一类是行政文件,包括会议纪要,司法信息,条约,决议,法规和规章,以及调查信息。另外就是文献,包括研究,信息科学与技术政策文件的技术。数量庞大的政府出版物,广泛的内容,发布快捷,可靠的数据是信息的重要来源。书的点击看详细教科文组织定义是:如果按(供应商)不包括在超过49打印的出版物,包括前盖和后盖,标题和作者具有特定名称,有ISBN编译的定价,并获得版权的出版叫做书。基于知识版权作品与文字或记录在某种形式的材料上方的其它信息符号的目的的传播点击看详细图书;书是人类社会实践的产物,是一种特殊的生长显著知识传播工具。定义点击看详细期刊是:写由不同的主题构成集合定期出版物作品的数量。点击看详细粗体可以发现,从政府出版的书籍和期刊之间的区别:点击看详细之一,不同的编辑器,不同的作者。政府出版物印刷主
如果认为我回答的好记得给赞哦。
ahcaonaqiz21185587552016-12-23 9:09:23
---------------------------------------------------
给你修改了三个地方:
1borrowBooks方法中,将Systemoutprintln("你要借吗?"); 改为:
Systemoutprintln("你要借吗?输入1表示借,其他数字表示不借。");
保证输入的时候输入的数字,否则会报出异常。
2borrowBooks方法中,将self[score] = all[9]; 改为:self[score] = all[i];
如果是all[9],那么就始终是最后一本书籍信息了。
3have方法中,你是想将所借的书籍信息都打印出来。修改的比较多,下面注释代码是原来的。
void have(Books[] self) {
// for (int i = 0; i < 2; i++) {
// self[i]showBookInfo();
// }
for (int i = 0; i < 3; i++) {
if(self[i]!=null)
self[i]showBookInfo();
}
}
附上所有代码:
import javautilScanner;
public class TestBook {
public static void main(String[] args) {
Books all[] = new Books[10];
Books self[] = new Books[3];
all[0] = new Books("java", 1, "12345", "tom", 340f, "人民出版社");
all[1] = new Books("c", 2, "12346", "tnn", 310f, "人民出版社");
all[2] = new Books("c++", 3, "12445", "mm", 350f, "人民出版社");
all[3] = new Books("c#", 4, "12365", "tt", 380f, "人民出版社");
all[4] = new Books("j2se", 5, "13345", "tosm", 311f, "人民出版社");
all[5] = new Books("j2ee", 6, "18345", "ttm", 320f, "人民出版社");
all[6] = new Books("jsp", 7, "12335", "cc", 330f, "人民出版社");
all[7] = new Books("net", 8, "12341", "bb", 360f, "人民出版社");
all[8] = new Books("ip", 9, "12343", "aa", 370f, "人民出版社");
all[9] = new Books("tcp", 10, "22345", "jj", 390f, "人民出版社");
Readers r = new Readers("xiaoming", 101, "1", 3);
rsearchAllBooks(all);
rborrowBooks(all, self);
rhave(self);
rgive(all, self);
}
}
class Readers {
Scanner scan = new Scanner(Systemin);
String names;
int nums;
String classes;
int grade;
int score = 0;
// Books self[]=new Books[3];
Readers(String n, int u, String c, int g) {
names = n;
nums = u;
classes = c;
grade = g;
}
void searchAllBooks(Books[] all) {// 查书
for (int i = 0; i < 10; i++)
all[i]showBookInfo();
// self[score]=all[0];
}
void give(Books[] all, Books[] self) {// 还书
Systemoutprintln("请输入您要还的书的书号");
int n = scannextInt();
for (int i = 0; i < 10; i++) {
if (n == all[i]num) {
for (int j = 0; j < 3; j++) {
if (self[j] == all[i]) {
self[j] = null;
Systemoutprintln("还书成功");
}
}
}
}
}
void have(Books[] self) {
// for (int i = 0; i < 2; i++) {
// self[i]showBookInfo();
// }
for (int i = 0; i < 3; i++) {
if(self[i]!=null)
self[i]showBookInfo();
}
}
void giveMoney() {
}
void borrowBooks(Books[] all, Books[] self) {
Systemoutprintln("请输入您要查找的书名:");
String n = scannext();
int i;
for (i = 0; i < 10; i++) {
if (nequals(all[i]name)) {
all[i]showBookInfo();
break;
}
}
//Systemoutprintln("你要借吗?");
Systemoutprintln("你要借吗?输入1表示借,其他数字表示不借。");
int j;
j = scannextInt();
if (j == 1) {
Systemoutprintln("借阅成功");
//self[score] = all[9];
self[score] = all[i];
score += 1;
}
if (score < 4) {
Systemoutprintln("您还可以借阅" + (3 - score) + "本");
} else {
Systemoutprintln("对不起,一个人只能借3本");
}
}
}
class Books {
String name;
int num;
String ISBN;
String writer;
float price;
String publisher;
Books(String n, int u, String i, String w, float p, String l) {
name = n;
num = u;
ISBN = i;
writer = w;
price = p;
publisher = l;
}
void showBookInfo() {
Systemoutprintln("");
Systemoutprintln("书名:" + name);
Systemoutprintln("索书号:" + num);
Systemoutprintln("ISBN号:" + ISBN);
Systemoutprintln("价格:" + price);
Systemoutprintln("出版社:" + publisher);
Systemoutprintln("");
}
}
----------------------------------------------------
#include“iostream”
using namespace std;
typedef struct book
{
int isbn;//图书索引
char book_name[20];//图书名称
char auther[20];//图书作者
float price;//图书价格
}Book;
int main()
{
Book book[5];
char tmp_book_name[20];
bool IsFind = false;//标记是否查找到这本书籍
for (int i=0; i<5; i++)
{
cout<<"请录入第 "<<i+1<<" 本书籍信息"<<endl;;
cout<<"请输入本书索引:";
cin>>book[i]isbn;
cout<<"请输入本书名字:";
cin>>book[i]book_name;
cout<<"请输入本书作者:";
cin>>book[i]auther;
cout<<"请输入本书价格:";
cin>>book[i]price;
cout<<endl;
}
cout<<"请输入你要查找书籍的名称:"<<endl;
cin>>tmp_book_name;
for (int i=0; i<5; i++)//循环查找该书籍
{
if(strcmp(book[i]book_name,tmp_book_name)==0)//strcmp比较两个字符串是否相等
{
IsFind = true;
cout<<"成功找到这本书籍,请输入修改信息:"<<endl;
cout<<"索引修改为:";
cin>>book[i]isbn;
cout<<"作者修改为:";
cin>>book[i]auther;
cout<<"价格修改为:";
cin>>book[i]price;
cout<<"修改成功"<<endl;
break;
}
}
if(!IsFind)
{
cout<<"查无此书,谢谢光临!"<<endl;
}
return 0;
}
#include <iostream>
using namespace std;
int main() {
cout<<"请输入ISBN号(例:ISBN7-305-01568-7):";
char cISBN[18];
cin>>cISBN;
int ISBN[18];
int count = 0;
for(int i=0; i<18; i++) {
if(cISBN[i] >= '0' && cISBN[i] <= '9') {
ISBN[count] = cISBN[i] - '0';
count++;
} else if(cISBN[i] == 'X') {
ISBN[count] = 10;
} else {
continue;
}
}
int sum = 0;
count = 0;
for(int i=10; i>=2; i--) {
sum += (ISBN[count] i);
count++;
}
sum += ISBN[9];
cout<<sum<<endl;
if(sum % 11) {
cout<<"ISBN号为假"<<endl;
} else {
cout<<"ISBN号为真"<<endl;
}
}
运行结果:
以上就是关于每本图书后面的编码中的ISBN表示什么意思全部的内容,包括:每本图书后面的编码中的ISBN表示什么意思、isbn是什么意思,在书的哪个地方、图书登记管理程序等相关内容解答,如果想了解更多相关内容,可以关注我们,你们的支持是我们更新的动力!
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)