计算书费feifeifei
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;double a[10]= {28.9,32.7,45.6,78,35,86.2,……
编写题解 2835: 计算书费
摘要:解题思路:注意事项:参考代码:price=[28.9,32.7,45.6,78,35,86.2,27.8,43,56,65] #将价格储存进数组
nums=list(map(int,input().……
2835: 计算书费
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double arr[100],sum=0,brr[100]; brr[0]=28.9; br……
优质题解,回归真神的初始途径
摘要:解题思路:利用列表[]的有序性和list函数的有序性,可以一一对应注意事项:参考代码:# 图书价格列表prices = [ 28.9, # 计算概论 32.7, # 数据结构与算法 ……
2835:计算书费(最经典的方法)
摘要:解题思路:给每一本书的数量定义一个变量注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(int argc, char *argv[]) {……
用数组来存放定价,一个循环就可以解决整体的输入
摘要:解题思路:注意事项:参考代码:#include<iostream>
#include<stdio.h>
using namespace std;
int main()
{ float ……
计算书费(C语言代码)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,arr[10]; double ch[10]={28.9,32.7,45.6,78,35,86.……
2835: 计算书费
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;double a[10]= { 28.9,32.7,45.6,78,35,86.2……
******************************计算书费******************************
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std; double a[10]= { 28.9,32.7,45.6,78,35,86……